1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Maintainer: Dan McGee <dan@archlinux.org>
7 pkgdesc='Multi-format archive and compression library'
9 url='https://libarchive.org/'
11 depends=('acl' 'libacl.so' 'bzip2' 'expat' 'lz4' 'openssl' 'libcrypto.so' 'xz'
13 provides=('libarchive.so')
14 validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E' # Martin Matuska <mm@FreeBSD.org>
15 'DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B') # Martin Matuska <martin@matuska.org>
16 source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
17 sha256sums=('9e2c1b80d5fbe59b61308fdfab6c79b5021d7ff4ff2489fb12daf0a96a83551d'
21 cd "${pkgname}-${pkgver}"
32 cd "${pkgname}-${pkgver}"
38 cd "${pkgname}-${pkgver}"
40 make DESTDIR="$pkgdir" install
41 sed -i "s/iconv //" "$pkgdir"/usr/lib/pkgconfig/libarchive.pc
42 install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"