From 13aeb339f6832a600f12dc8c95b5a6e25d49ffae Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 9 Oct 2018 19:51:34 +0200 Subject: extra/git: build without gnome-keyring on i486 --- extra/git/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/git/PKGBUILD diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD new file mode 100644 index 00000000..36b2d040 --- /dev/null +++ b/extra/git/PKGBUILD @@ -0,0 +1,15 @@ +# 486-specific +if [ "${CARCH}" = "i486" ]; then + # no Gnome + makedepends=(${makedepends[@]//libgnome-keyring/}) + eval "$( + declare -f build | \ + sed ' + s@\(make -C contrib/credential/gnome-keyring\)@#\1@ + ' + declare -f package | \ + sed ' + /gnome-keyring/d + ' + )" +fi -- cgit v1.2.3-70-g09d2