jobcore/libarchive/PKGBUILD-arch

48 lines
1.2 KiB
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=libarchive
2024-04-29 14:36:00 +02:00
pkgver=3.7.4
pkgrel=1
2022-03-20 13:19:37 +01:00
pkgdesc='Multi-format archive and compression library'
arch=('x86_64')
url='https://libarchive.org/'
license=('BSD')
2024-04-29 14:36:00 +02:00
depends=('acl' 'libacl.so'
'bzip2' 'libbz2.so'
'libxml2' 'libxml2.so'
'lz4'
'openssl' 'libcrypto.so'
'xz' 'liblzma.so'
'zlib' 'libz.so'
'zstd' 'libzstd.so')
2022-03-20 13:19:37 +01:00
provides=('libarchive.so')
validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E' # Martin Matuska <mm@FreeBSD.org>
'DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B') # Martin Matuska <martin@matuska.org>
2024-04-29 14:36:00 +02:00
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735'
'SKIP')
2022-03-20 13:19:37 +01:00
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--without-nettle \
--disable-static
make
}
check() {
cd "${pkgname}-${pkgver}"
make check
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
}