summaryrefslogtreecommitdiff
path: root/i486-stage4/gpgme/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage4/gpgme/DESCR')
-rw-r--r--i486-stage4/gpgme/DESCR13
1 files changed, 13 insertions, 0 deletions
diff --git a/i486-stage4/gpgme/DESCR b/i486-stage4/gpgme/DESCR
new file mode 100644
index 0000000..7ba1884
--- /dev/null
+++ b/i486-stage4/gpgme/DESCR
@@ -0,0 +1,13 @@
+# we only build the library
+sed -i 's/pkgname=.*/pkgname=(gpgme)/' PKGBUILD
+
+# no Qt library
+sed -i "/makedepends=/s/'qt5-base'//" PKGBUILD
+
+# no bindings
+sed -i "/makedepends=/s/'swig'//" PKGBUILD
+
+# disable language bindings support and don't move around
+# things we do not build
+sed -i 's@./configure@./configure --enable-languages=no@' PKGBUILD
+sed -i '/# split qgpgme/,/^}/ {/# split qgpgme/n;/^}/!{s/\(.*\)/#\1/g}}' PKGBUILD