From 2754e2e8cedf271f4cba024be78163d66696ff4b Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] libarchive 3.7.4-1 --- libarchive/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libarchive/PKGBUILD diff --git a/libarchive/PKGBUILD b/libarchive/PKGBUILD new file mode 100644 index 0000000..3684e2c --- /dev/null +++ b/libarchive/PKGBUILD @@ -0,0 +1,33 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libarchive +pkgver=3.7.4 +pkgrel=1 +pkgdesc="Multi-format archive and compression library" +arch=('x86_64') +url="https://libarchive.org/" +license=('BSD') +depends=('acl' 'bzip2' 'expat' 'openssl' 'xz' 'zlib' 'zstd') +source=(https://github.com/libarchive/libarchive/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz) +sha256sums=(f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --without-expat \ + --without-nettle + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}