summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 19:51:34 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-09 19:51:34 +0200
commit13aeb339f6832a600f12dc8c95b5a6e25d49ffae (patch)
tree4cfffd881d3dc4cc966a591316cc2f5970031919 /extra
parent24b30eff0fc1037262a2e8513d447f60eed644f2 (diff)
downloadpackages-13aeb339f6832a600f12dc8c95b5a6e25d49ffae.tar.xz
extra/git: build without gnome-keyring on i486
Diffstat (limited to 'extra')
-rw-r--r--extra/git/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
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