summaryrefslogtreecommitdiff
path: root/core/findutils/MAKEPKG
blob: 71630a13098803746063f0239702012c30b982de (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
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/mkpkg
# description: GNU find, xargs, and locate utilities
# url: https://www.gnu.org/software/findutils

# license: GPL-3.0

name=findutils
version=4.11.0
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

sha256sums=(
    "bfd19cb06cc71f3352d567e90284d8cdac02ac89774bbeadf0b533b0c11432fd"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/ \
        --mandir=/usr/share/man \
        --enable-threads=posix \
        --disable-nls

    make
    make DESTDIR=$PKG install

    rm -f $PKG/bin/updatedb
    rm -f $PKG/bin/locate
    rm -rf $PKG/libexec
    rm -rf $PKG/var
    rm -rf $PKG/share/info
    rm -rf $PKG/usr/share/man/man1/updatedb.1
    rm -rf $PKG/usr/share/man/man1/locate.1
    rm -rf $PKG/usr/share/man/man5
}

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

# vim: filetype=sh