summaryrefslogtreecommitdiffstats
path: root/libarchive/MAKEPKG
blob: d99304202d430574c0cb560a721ca1960e57087e (plain) (blame)
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
#!/bin/mkpkg
# description: Multi-format archive and compression library
# url: https://libarchive.org/

name=libarchive
version=3.8.2
release=1
depends=(acl bzip2 xz zlib zstd)
source=(https://github.com/libarchive/libarchive/releases/download/v$version/$name-$version.tar.xz)
build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        --without-xml2 \
        --without-nettle \
        --without-libb2 \
        --without-iconv \
        --disable-static

    make
    make DESTDIR=$PKG install

    rm -f $PKG/usr/lib/*.la
}

# vim: filetype=sh