diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-14 23:15:44 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-14 23:15:44 +0200 |
commit | 15eb795e5bfa741d538720efcb36cd31048e54e0 (patch) | |
tree | af6701e568062722c42aec2cefa353a055d3b5b4 /libsha1/PKGBUILD | |
parent | Add auto-auto-complete 7.2.1 (diff) | |
download | aur-packages-15eb795e5bfa741d538720efcb36cd31048e54e0.tar.gz aur-packages-15eb795e5bfa741d538720efcb36cd31048e54e0.tar.bz2 aur-packages-15eb795e5bfa741d538720efcb36cd31048e54e0.tar.xz |
Update libsha1 to version 1.1.3
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r-- | libsha1/PKGBUILD | 17 |
1 files 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 <m@`base64 -d`(bWFhbmRyZWU).se> 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 } |