Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-11 11:08:45 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-11 11:08:45 +0000
commit1bff847d44f86db667f706fac4d20f15297ca7f4 (patch)
tree39c2b2b218f6e0ad92ad49f51d4e7b49a4612995 /core/gpgme
parentd3be74e0c323dfc526bc178ce31941491c66415d (diff)
core/gpgme: added i486-specific patch
Diffstat (limited to 'core/gpgme')
-rw-r--r--core/gpgme/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
new file mode 100644
index 00000000..f35e9323
--- /dev/null
+++ b/core/gpgme/PKGBUILD
@@ -0,0 +1,23 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # we only build the library
+ pkgname=(gpgme)
+
+ # no Qt library
+ makedepends=(${makedepends[@]//qt5-base/})
+
+ # no language bindings
+ makedepends=(${makedepends[@]//swig/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@./configure@./configure --enable-languages=no@
+ '
+ )"
+ eval "$(
+ declare -f package_gpgme | \
+ sed '
+ /rm /d
+ '
+ )"
+fi