From aab40ae9a019d2a96971239f7ef6c45f21d42c9a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 27 Sep 2018 08:08:53 +0200 Subject: core/gpgme: disable bindings and qt5 dependencies for i486 --- core/gpgme/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 core/gpgme/PKGBUILD (limited to 'core') 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 -- cgit v1.2.3-70-g09d2