Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-27 08:08:53 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-27 08:08:53 +0200
commitaab40ae9a019d2a96971239f7ef6c45f21d42c9a (patch)
tree81034f82633b4d3dbd507a4497f46d25ca558a68
parent0c6e0b9097f9b53dd6ced279df0105c64af79fb6 (diff)
core/gpgme: disable bindings and qt5 dependencies for i486
-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