summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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