summaryrefslogtreecommitdiff
path: root/extra/git
diff options
context:
space:
mode:
Diffstat (limited to 'extra/git')
-rw-r--r--extra/git/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
new file mode 100644
index 00000000..d78c5181
--- /dev/null
+++ b/extra/git/PKGBUILD
@@ -0,0 +1,18 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # we currently have no Gnome and libsecret, so disable integration
+ makedepends=(${makedepends[@]//libgnome-keyring/})
+ makedepends=(${makedepends[@]//libsecret/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s@\(make -C contrib/credential/gnome-keyring\)@#\1@
+ s@\(make -C contrib/credential/libsecret\)@#\1@
+ '
+ declare -f package | \
+ sed '
+ /gnome-keyring/d
+ /libsecret/d
+ '
+ )"
+fi