summaryrefslogtreecommitdiff
path: root/extra/subversion/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/subversion/PKGBUILD
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
downloadpackages-bcb5133554da96e552b4d74fe48d336a80efebed.tar.xz
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/subversion/PKGBUILD')
-rw-r--r--extra/subversion/PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index 941792d7..da86150e 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -1,17 +1,25 @@
+# no Java bindings on i486
+makedepends=(${makedepends[@]//java-environment<10/})
+makedepends_i686+=(java-environment<10)
+
+# no Ruby bindings on i486
+makedepends=(${makedepends[@]//ruby/})
+checkdepends=(${checkdepends[@]//ruby-test-unit/})
+makedepends_i686+=(ruby)
+checkdepends_i686+=(ruby-test-unit)
+
+# no KDE gui on i486
+makedepends=(${makedepends[@]//kdelibs4support/})
+makedepends=(${makedepends[@]//kwallet/})
+makedepends_i686+=(kdelibs4support kwallet)
+
+# no Gnome gui on i486
+makedepends=(${makedepends[@]//libgnome-keyring/})
+makedepends_i686+=(libgnome-keyring)
+
# i486-specific
if [ "${CARCH}" = "i486" ]; then
- # no Apache server integration
- makedepends=(${makedepends[@]//apache/})
- eval "$(
- declare -f build | \
- sed '
- s@--with-apxs@@
- s@--with-apache-libexecdir=/usr/lib/httpd/modules@@
- '
- )"
-
# no Java bindings
- makedepends=(${makedepends[@]//java-environment<10/})
eval "$(
declare -f build | \
sed '
@@ -28,8 +36,6 @@ if [ "${CARCH}" = "i486" ]; then
)"
# no Ruby bindings
- makedepends=(${makedepends[@]//ruby/})
- checkdepends=(${checkdepends[@]//ruby-test-unit/})
eval "$(
declare -f build | \
sed '
@@ -51,8 +57,6 @@ if [ "${CARCH}" = "i486" ]; then
)"
# no KDE gui
- makedepends=(${makedepends[@]//kdelibs4support/})
- makedepends=(${makedepends[@]//kwallet/})
eval "$(
declare -f build | \
sed '
@@ -61,7 +65,6 @@ if [ "${CARCH}" = "i486" ]; then
)"
# no Gnome gui
- makedepends=(${makedepends[@]//libgnome-keyring/})
eval "$(
declare -f build | \
sed '