diff options
Diffstat (limited to 'libarchive/MAKEPKG')
| -rw-r--r-- | libarchive/MAKEPKG | 28 |
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 | |||
| 5 | name=libarchive | ||
| 6 | version=3.8.2 | ||
| 7 | release=1 | ||
| 8 | depends=(acl bzip2 xz zlib zstd) | ||
| 9 | source=(https://github.com/libarchive/libarchive/releases/download/v$version/$name-$version.tar.xz) | ||
| 10 | build() { | ||
| 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 | ||