summaryrefslogtreecommitdiff
path: root/opt/which/MAKEPKG
blob: 5d732455bafbe9ea8b6d3d81dadc0563dfbaffff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/mkpkg
# description: Shows the full path of shell commands
# url: https://www.gnu.org/software/which/

name=which
version=2.25
release=1
depends=()
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

sha256sums=(
    "1cb83e4f702e60b8211ab5ec4c2afbab1b1dec80209456a7d2faf7584ed225ea"
)

build() {
    cd $name-$version
    ./configure --prefix=/ --mandir=/usr/share/man
    make
    make DESTDIR=$PKG install
    
    rm -rf $PKG/share

}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh