summaryrefslogtreecommitdiff
path: root/devel/cpio/MAKEPKG
blob: 12fb80c8fe68e219df0543463aa421dbcae392d6 (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
#!/bin/mkpkg
# description: Tool for creating and extracting archive files
# url: https://www.gnu.org/software/cpio/

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

sha256sums=(
    "efa50ef983137eefc0a02fdb51509d624b5e3295c980aa127ceee4183455499e"
)

build() {
    cd $name-$version

    ./configure --prefix=/usr --disable-nls
    make
    make DESTDIR=$PKG install

    # rmt conflicts with tar
    rm -f $PKG/usr/libexec/rmt
    rm -rf $PKG/usr/share/man/man8
}

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

# vim: filetype=sh