upg libarchive

This commit is contained in:
joborun linux 2022-12-12 22:35:52 +02:00
parent 1cfd894be4
commit 7b7415af92
3 changed files with 14 additions and 9 deletions

View file

@ -7,16 +7,19 @@
pkgname=libarchive
pkgver=3.6.2
pkgrel=01
pkgrel=02
pkgdesc='Multi-format archive and compression library'
arch=('x86_64')
url='https://libarchive.org/'
depends=('acl' 'libacl.so' 'bzip2' 'expat' 'lz4' 'openssl' 'xz' 'zlib' 'zstd' 'libcrypto.so')
provides=('libarchive.so')
#options=('debug')
#source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
# temp key server out will try again later and issue pkgrel=02
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") #"{,.asc})
# again, for 3rd day in a row, this gpg key is a phantom, Arch reisssues and patches a pseudo-signed source
# which is obviously is not checked by their server.
# ... finally after being mentioned in reddit/arch magically the key appeared to verify the source!!!
#source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") #"{,.asc})
#prepare() {
# cd "$pkgname-$pkgver"
@ -46,6 +49,7 @@ 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"
}
@ -53,8 +57,9 @@ package() {
license=('BSD')
validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E' # Martin Matuska <mm@FreeBSD.org>
'DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B') # Martin Matuska <martin@matuska.org>
validpgpkeys=(A5A45B12AD92D964B89EEE2DEC560C81CEC2276E # Martin Matuska <mm@FreeBSD.org>
DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B) # Martin Matuska <martin@matuska.org>
sha256sums=(9e2c1b80d5fbe59b61308fdfab6c79b5021d7ff4ff2489fb12daf0a96a83551d # libarchive-3.6.2.tar.xz
c6f1cdc29571dd6b09d3776ae98404a81b2dbe970a2bd9dc0bd9ed183ca49b71) # libarchive-3.6.2.tar.xz.asc
sha256sums=(9e2c1b80d5fbe59b61308fdfab6c79b5021d7ff4ff2489fb12daf0a96a83551d) # libarchive-3.6.2.tar.xz
# c6f1cdc29571dd6b09d3776ae98404a81b2dbe970a2bd9dc0bd9ed183ca49b71) # libarchive-3.6.2.tar.xz.asc

View file

@ -3,7 +3,7 @@
pkgname=libarchive
pkgver=3.6.2
pkgrel=1
pkgrel=2
pkgdesc='Multi-format archive and compression library'
arch=('x86_64')
url='https://libarchive.org/'
@ -39,5 +39,6 @@ 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"
}

View file

@ -1,3 +1,2 @@