diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-08-20 08:30:45 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-08-20 08:30:45 +0200 |
commit | 89f19859134be4cda68b82a2e600ad99ef6b1adf (patch) | |
tree | 7d76e6ce4325a0fc7f7d66a21018d58a4783c125 /community | |
parent | 0b3d8bee159b5a2caf1d1253890efe32f59f6102 (diff) | |
download | packages-89f19859134be4cda68b82a2e600ad99ef6b1adf.tar.xz |
community/libkeccak: valgrind patch for i486 only
Diffstat (limited to 'community')
-rw-r--r-- | community/libkeccak/PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/community/libkeccak/PKGBUILD b/community/libkeccak/PKGBUILD index 3f7dba36..b929aba6 100644 --- a/community/libkeccak/PKGBUILD +++ b/community/libkeccak/PKGBUILD @@ -2,18 +2,18 @@ # no explicit configure option available) if [ "$CARCH" = 'i486' ]; then checkdepends=(${checkdepends[@]//valgrind/}) -fi -source+=(libkeccak-1.2.2-no-valgrind.patch) -b2sums+=('7a8e5b0e48db35e09cf389096f8e5d3f0cbc008f5c37ff7e88f0531f98a67fe23c25dc87b48669ef03d25a1c743516ff5bc40ed349f304c790d81bf19372026f') + source+=(libkeccak-1.2.2-no-valgrind.patch) + b2sums+=('7a8e5b0e48db35e09cf389096f8e5d3f0cbc008f5c37ff7e88f0531f98a67fe23c25dc87b48669ef03d25a1c743516ff5bc40ed349f304c790d81bf19372026f') -eval "$( - { - declare -f prepare || \ - printf 'prepare() {\n}\n' - } \ - | sed ' - $i cd "${srcdir}/${pkgbase}-${pkgver}" \ - patch -Np1 -i "$srcdir/libkeccak-1.2.2-no-valgrind.patch" - ' -)" + eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "${srcdir}/${pkgbase}-${pkgver}" \ + patch -Np1 -i "$srcdir/libkeccak-1.2.2-no-valgrind.patch" + ' + )" +fi |