Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/git/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index e69de29b..4e8184da 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -0,0 +1,19 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ echo 486
+ # 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