Date: Monday, December 12, 2022 @ 11:38:38
Author: eworm
Revision: 464188
archrelease: copy trunk to testing-x86_64
Added:
libarchive/repos/testing-x86_64/
libarchive/repos/testing-x86_64/PKGBUILD
(from rev 464187, libarchive/trunk/PKGBUILD)
libarchive/repos/testing-x86_64/keys/
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: libarchive/repos/testing-x86_64/PKGBUILD (from rev 464187,
libarchive/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-12-12 11:38:38 UTC (rev 464188)
@@ -0,0 +1,44 @@
+# Maintainer: Bartłomiej Piotrowski <[email protected]>
+# Maintainer: Dan McGee <[email protected]>
+
+pkgname=libarchive
+pkgver=3.6.2
+pkgrel=2
+pkgdesc='Multi-format archive and compression library'
+arch=('x86_64')
+url='https://libarchive.org/'
+license=('BSD')
+depends=('acl' 'libacl.so' 'bzip2' 'expat' 'lz4' 'openssl' 'libcrypto.so' 'xz'
+ 'zlib' 'zstd')
+provides=('libarchive.so')
+options=('debug')
+validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E' # Martin Matuska
<[email protected]>
+ 'DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B') # Martin Matuska
<[email protected]>
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('9e2c1b80d5fbe59b61308fdfab6c79b5021d7ff4ff2489fb12daf0a96a83551d'
+ 'SKIP')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --without-xml2 \
+ --without-nettle \
+ --disable-static
+ make
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ make check
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+ sed -i "s/iconv //" "$pkgdir"/usr/lib/pkgconfig/libarchive.pc
+ install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
+}