core/libgcrypt to 1.8.5-2

This commit is contained in:
Kevin Mihelich 2019-11-19 02:29:40 +00:00
parent 60644f6d36
commit 108b6aa858

View file

@ -6,7 +6,7 @@
pkgname=libgcrypt pkgname=libgcrypt
pkgver=1.8.5 pkgver=1.8.5
pkgrel=1 pkgrel=2
pkgdesc="General purpose cryptographic library based on the code from GnuPG" pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(x86_64) arch=(x86_64)
url="https://www.gnupg.org" url="https://www.gnupg.org"
@ -22,7 +22,7 @@ validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG
options=(!makeflags) options=(!makeflags)
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd "${pkgname}"-${pkgver}
# tests fail due to systemd+libseccomp preventing memory syscalls when building in chroots # tests fail due to systemd+libseccomp preventing memory syscalls when building in chroots
# t-secmem: line 176: gcry_control (GCRYCTL_INIT_SECMEM, pool_size, 0) failed: General error # t-secmem: line 176: gcry_control (GCRYCTL_INIT_SECMEM, pool_size, 0) failed: General error
# FAIL: t-secmem # FAIL: t-secmem
@ -34,7 +34,7 @@ prepare() {
} }
build() { build() {
cd ${pkgname}-${pkgver} cd "${pkgname}"-${pkgver}
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon-support --disable-arm-crypto-support" [[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon-support --disable-arm-crypto-support"
@ -53,11 +53,11 @@ build() {
} }
check() { check() {
cd ${pkgname}-${pkgver} cd "${pkgname}"-${pkgver}
make check make check
} }
package() { package() {
cd ${pkgname}-${pkgver} cd "${pkgname}"-${pkgver}
make DESTDIR=${pkgdir} install make DESTDIR="${pkgdir}" install
} }