diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-15 21:46:40 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-15 21:46:40 +0200 |
commit | bdc1071d06fd335d88baa4f1b26b704d4261da52 (patch) | |
tree | ed26f222653a1ae3aff05506302cbf7479a0e5ad /libsha2 | |
parent | Update libsha1 to version 1.1.3 (diff) | |
download | aur-packages-bdc1071d06fd335d88baa4f1b26b704d4261da52.tar.gz aur-packages-bdc1071d06fd335d88baa4f1b26b704d4261da52.tar.bz2 aur-packages-bdc1071d06fd335d88baa4f1b26b704d4261da52.tar.xz |
Update libsha2 to version 1.1.2
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r-- | libsha2/PKGBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
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 <m@`base64 -d`(bWFhbmRyZWU).se> 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 } |