index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-21 09:51:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-21 09:51:18 +0100 |
commit | ab7672f26a14ad13b3ffaefd2de09906b2a27606 (patch) | |
tree | b55bca91726b4ce237bfabb597ee044f4b2427c1 /extra/subversion | |
parent | 64dab5e626f0eff2cc7760c018bfbf836f1c9321 (diff) | |
parent | 0af9aedcd977e42e2f2bda7957f9545d938f058d (diff) |
-rw-r--r-- | extra/subversion/PKGBUILD | 74 |
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD new file mode 100644 index 00000000..42f7e8e2 --- /dev/null +++ b/extra/subversion/PKGBUILD @@ -0,0 +1,74 @@ +# 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 ' + s@--enable-javahl@--disable-javahl@ + s@--with-jdk=/usr/lib/jvm/default@@ + /make/s/javahl// + ' + )" + eval "$( + declare -f package | \ + sed ' + /make/s/install-javahl// + ' + )" + + # no Ruby bindings + makedepends=(${makedepends[@]//ruby/}) + eval "$( + declare -f build | \ + sed ' + s@--with-ruby-sitedir=/usr/lib/ruby/vendor_ruby@@ + /make/s/swig-rb// + ' + )" + eval "$( + declare -f check | \ + sed ' + /make/s/check-swig-rb// + ' + )" + eval "$( + declare -f package | \ + sed ' + /make/s/install-swig-rb// + ' + )" + + # no KDE gui + makedepends=(${makedepends[@]//kdelibs4support/}) + makedepends=(${makedepends[@]//kwallet/}) + eval "$( + declare -f build | \ + sed ' + s@--with-kwallet@@ + ' + )" + + # no Gnome gui + makedepends=(${makedepends[@]//libgnome-keyring/}) + eval "$( + declare -f build | \ + sed ' + s@--with-gnome-keyring@@ + s@--with-jdk=/usr/lib/jvm/default@@ + ' + )" + + +fi + |