summaryrefslogtreecommitdiffstats
path: root/libarchive/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/MAKEPKG')
-rw-r--r--libarchive/MAKEPKG28
1 files changed, 28 insertions, 0 deletions
diff --git a/libarchive/MAKEPKG b/libarchive/MAKEPKG
new file mode 100644
index 0000000..d993042
--- /dev/null
+++ b/libarchive/MAKEPKG
@@ -0,0 +1,28 @@
1#!/bin/mkpkg
2# description: Multi-format archive and compression library
3# url: https://libarchive.org/
4
5name=libarchive
6version=3.8.2
7release=1
8depends=(acl bzip2 xz zlib zstd)
9source=(https://github.com/libarchive/libarchive/releases/download/v$version/$name-$version.tar.xz)
10build() {
11 cd $name-$version
12
13 ./configure \
14 --prefix=/usr \
15 --mandir=/usr/share/man \
16 --without-xml2 \
17 --without-nettle \
18 --without-libb2 \
19 --without-iconv \
20 --disable-static
21
22 make
23 make DESTDIR=$PKG install
24
25 rm -f $PKG/usr/lib/*.la
26}
27
28# vim: filetype=sh