* update libarchive to 3.7.7-1

This commit is contained in:
Alexander Baldeck 2024-10-27 10:58:27 +01:00
parent c4dcb51125
commit ba11b4971d
2 changed files with 19 additions and 14 deletions

View File

@ -1,14 +1,16 @@
pkgbase = libarchive
pkgdesc = Multi-format archive and compression library
pkgver = 3.7.5
pkgrel = 1.1
pkgver = 3.7.7
pkgrel = 1
url = https://libarchive.org/
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = espresso
arch = riscv64
license = BSD
makedepends = git
depends = acl
depends = libacl.so
depends = bzip2
@ -25,11 +27,9 @@ pkgbase = libarchive
depends = zstd
depends = libzstd.so
provides = libarchive.so
source = https://github.com/libarchive/libarchive/releases/download/v3.7.5/libarchive-3.7.5.tar.xz
source = https://github.com/libarchive/libarchive/releases/download/v3.7.5/libarchive-3.7.5.tar.xz.asc
source = git+https://github.com/libarchive/libarchive.git?signed#tag=v3.7.7
validpgpkeys = A5A45B12AD92D964B89EEE2DEC560C81CEC2276E
validpgpkeys = DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B
sha256sums = ca74ff8f99dd40ab8a8274424d10a12a7ec3f4428dd35aee9fdda8bdb861b570
sha256sums = SKIP
sha256sums = 5f34ae74d1a780a7147f255903a04b475f674ea48252f3a059fb27d67eb083a9
pkgname = libarchive

View File

@ -3,8 +3,8 @@
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=libarchive
pkgver=3.7.5
pkgrel=1.1
pkgver=3.7.7
pkgrel=1
pkgdesc='Multi-format archive and compression library'
arch=(x86_64 powerpc64le powerpc64 powerpc espresso riscv64)
url='https://libarchive.org/'
@ -17,15 +17,20 @@ depends=('acl' 'libacl.so'
'xz' 'liblzma.so'
'zlib' 'libz.so'
'zstd' 'libzstd.so')
makedepends=('git')
provides=('libarchive.so')
validpgpkeys=('A5A45B12AD92D964B89EEE2DEC560C81CEC2276E' # Martin Matuska <mm@FreeBSD.org>
'DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B') # Martin Matuska <martin@matuska.org>
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha256sums=('ca74ff8f99dd40ab8a8274424d10a12a7ec3f4428dd35aee9fdda8bdb861b570'
'SKIP')
source=("git+https://github.com/${pkgname}/${pkgname}.git?signed#tag=v${pkgver}")
sha256sums=('5f34ae74d1a780a7147f255903a04b475f674ea48252f3a059fb27d67eb083a9')
prepare() {
cd "${pkgname}"
autoreconf -fiv
}
build() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
./configure \
--prefix=/usr \
@ -35,13 +40,13 @@ build() {
}
check() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
make check
}
package() {
cd "${pkgname}-${pkgver}"
cd "${pkgname}"
make DESTDIR="$pkgdir" install
install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"