first commit
This commit is contained in:
3
src/which/.gitignore
vendored
Normal file
3
src/which/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/which/changes.md
Normal file
2
src/which/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.21
|
||||
First version
|
26
src/which/pkg.sh
Normal file
26
src/which/pkg.sh
Normal file
@ -0,0 +1,26 @@
|
||||
# general info
|
||||
NAME="which"
|
||||
DESC="Shows the full path of (shell) commands"
|
||||
VERSION="2.21"
|
||||
|
||||
# required files
|
||||
FILES=("https://ftp.gnu.org/gnu/which/which-${VERSION}.tar.gz")
|
||||
HASHES=("097ff1a324ae02e0a3b0369f07a7544a")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc" "bash")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr && make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
||||
|
||||
install(){
|
||||
echo "Testing the install script"
|
||||
}
|
Reference in New Issue
Block a user