summaryrefslogtreecommitdiff
path: root/i486-stage3/pinentry/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage3/pinentry/DESCR')
-rw-r--r--i486-stage3/pinentry/DESCR17
1 files changed, 17 insertions, 0 deletions
diff --git a/i486-stage3/pinentry/DESCR b/i486-stage3/pinentry/DESCR
new file mode 100644
index 0000000..fa2dfcf
--- /dev/null
+++ b/i486-stage3/pinentry/DESCR
@@ -0,0 +1,17 @@
+# no libsecret (has cyrcles and far too many dependencies)
+sed -i "/depends=/s/'libsecret'//" PKGBUILD
+sed -i 's/--enable-libsecret/--disable-libsecret/' PKGBUILD
+
+# no emacs
+sed -i 's/--enable-pinentry-emacs/--disable-pinentry-emacs/' PKGBUILD
+
+# no GUI stuff
+sed -i "/makedepends=/s/gtk2//" PKGBUILD
+sed -i "/makedepends=/s/qt5-base//" PKGBUILD
+sed -i "/makedepends=/s/gtk2//" PKGBUILD
+sed -i 's/--enable-pinentry-gtk2/--disable-pinentry-gtk2/' PKGBUILD
+sed -i 's/--enable-pinentry-gnome3/--disable-pinentry-gnome3/' PKGBUILD
+sed -i 's/--enable-pinentry-qt/--disable-pinentry-qt/' PKGBUILD
+
+# no gcr
+sed -i "/makedepends=/s/gcr//" PKGBUILD