From 15eb795e5bfa741d538720efcb36cd31048e54e0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 14 Oct 2024 23:15:44 +0200 Subject: Update libsha1 to version 1.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsha1/PKGBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libsha1/PKGBUILD b/libsha1/PKGBUILD index 104e537..2128ce9 100644 --- a/libsha1/PKGBUILD +++ b/libsha1/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Mattias Andrée pkgname=libsha1 -pkgver=1.1.2 +pkgver=1.1.3 pkgrel=1 pkgdesc="SHA-1 and SHA-0 hashing library" arch=(i686 x86_64) @@ -11,19 +11,26 @@ depends=() checkdepends=() makedepends=() source=(libsha1-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) -sha256sums=(b2fbe344efe7cd0f14ad0cdbab28847ac7b4c4c86bf83583e87fc028d7a06ea8) +sha256sums=(01b801bee3d89a3647f0b6302664852463b9f6d6be3afc0ef878d16c1ba6fef7) + +_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 } package() { cd "$srcdir/$pkgname" - make PREFIX=/usr DESTDIR="$pkgdir" install + make CONFIGFILE="${_config}" PREFIX=/usr DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2