From bdc1071d06fd335d88baa4f1b26b704d4261da52 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 15 Oct 2024 21:46:40 +0200 Subject: Update libsha2 to version 1.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsha2/PKGBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'libsha2/PKGBUILD') diff --git a/libsha2/PKGBUILD b/libsha2/PKGBUILD index 67f1975..aeed01c 100644 --- a/libsha2/PKGBUILD +++ b/libsha2/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Mattias Andrée pkgname=libsha2 -pkgver=1.1.1 +pkgver=1.1.2 pkgrel=1 pkgdesc="SHA-2-family hashing library" arch=(i686 x86_64) @@ -11,19 +11,26 @@ depends=() checkdepends=() makedepends=() source=(libsha2-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) -sha256sums=(66f5b5335f298d8bc5493d467264e02cd523b2325cf15066fcc3280f37f53340) +sha256sums=(14470efbb2987e4be57d0c69635f8dedba11eac7ccece5b1a4a41458c180b765) + +_config=config-portable.mk +if test "$(uname -m)" = x86_64; then + _config=config-x86.mk +elif test "$(uname -m)" = aarch64; then + _config=config-armv8.mk +fi build() { cd "$srcdir/$pkgname" - make PREFIX=/usr + make CONFIGFILE="${_config}" PREFIX=/usr } check() { cd "$srcdir/$pkgname" - make check + make CONFIGFILE="${_config}" CHECK_FLAGS=skip-huge check } package() { cd "$srcdir/$pkgname" - make PREFIX=/usr DESTDIR="$pkgdir" install + make CONFIGFILE="${_config}" PREFIX=/usr DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2