diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-27 08:08:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-09-27 08:08:53 +0200 |
commit | aab40ae9a019d2a96971239f7ef6c45f21d42c9a (patch) | |
tree | 81034f82633b4d3dbd507a4497f46d25ca558a68 | |
parent | 0c6e0b9097f9b53dd6ced279df0105c64af79fb6 (diff) | |
download | packages-aab40ae9a019d2a96971239f7ef6c45f21d42c9a.tar.xz |
core/gpgme: disable bindings and qt5 dependencies for i486
-rw-r--r-- | core/gpgme/PKGBUILD | 23 |
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 |