Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-11 16:04:30 +0200
committerErich Eckner <git@eckner.net>2018-10-11 16:04:30 +0200
commit1ef3db3df26dd0f4b688aefeb7347cb88b931fa4 (patch)
tree6c2dd7bc2a0bf62c4fc05784953951523b1ed754 /core/gpgme/PKGBUILD
parent52987e2eee914076b5be2c925ef1a337658c7d9c (diff)
core/gpgme: explicitely remove i486 from package functions which we do not package
Diffstat (limited to 'core/gpgme/PKGBUILD')
-rw-r--r--core/gpgme/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
index f35e9323..121220d1 100644
--- a/core/gpgme/PKGBUILD
+++ b/core/gpgme/PKGBUILD
@@ -1,3 +1,13 @@
+eval "$(
+ declare -f package_python-gpgme package_python2-gpgme qgpgme | \
+ sed '
+ /^\s*{\s*$/ a arch=('"$(
+ printf '%s\n' "${arch[@]}" | \
+ grep -vxF 'i486' | \
+ tr '\n' ' '
+ )"')
+ '
+)"
# i486-specific
if [ "${CARCH}" = "i486" ]; then
# we only build the library