Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/libkeccak/PKGBUILD
blob: b929aba61b5b022ad1ac31b9d0905f54c264be00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# valgrind no longer supports i486 (configuire tests for the binary,
# no explicit configure option available)
if [ "$CARCH" = 'i486' ]; then
	checkdepends=(${checkdepends[@]//valgrind/})

	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"
	  '
	)"
fi