summaryrefslogtreecommitdiff
path: root/i486-stage3/gpgme/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage3/gpgme/DESCR')
-rw-r--r--i486-stage3/gpgme/DESCR17
1 files changed, 17 insertions, 0 deletions
diff --git a/i486-stage3/gpgme/DESCR b/i486-stage3/gpgme/DESCR
new file mode 100644
index 0000000..44d2f9b
--- /dev/null
+++ b/i486-stage3/gpgme/DESCR
@@ -0,0 +1,17 @@
+# we only build the library
+sed -i 's/pkgname=.*/pkgname=(gpgme)/' PKGBUILD
+
+# no python
+sed -i "/makedepends=/s/'python'//" PKGBUILD
+sed -i "/makedepends=/s/'python2'//" 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