summaryrefslogtreecommitdiff
path: root/user/subversion/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/subversion/APKBUILD')
-rw-r--r--user/subversion/APKBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/user/subversion/APKBUILD b/user/subversion/APKBUILD
index 3d9a96a68..1d034aff3 100644
--- a/user/subversion/APKBUILD
+++ b/user/subversion/APKBUILD
@@ -1,25 +1,37 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=subversion
-pkgver=1.10.4
+pkgver=1.11.1
pkgrel=0
pkgdesc="Version control system from 2000"
url="https://subversion.apache.org/"
arch="all"
+options="!check" # Test suite no longer works with Python 3:
+ # https://issues.apache.org/jira/browse/SVN-4811
license="Apache-2.0"
depends=""
depends_dev="apr-dev apr-util-dev linux-headers"
makedepends="apr-dev apr-util-dev cyrus-sasl-dev db-dev dbus-dev file-dev
kdelibs4support-dev kwallet-dev libsecret-dev lz4-dev openssl-dev
- serf-dev sqlite-dev utf8proc-dev zlib-dev"
+ serf-dev sqlite-dev utf8proc-dev zlib-dev autoconf automake python3"
subpackages="$pkgname-dev $pkgname-doc $pkgname-gnome $pkgname-kwallet
$pkgname-lang"
source="https://www-eu.apache.org/dist/subversion/subversion-$pkgver.tar.bz2
+ apr-1.7.0.patch
python3-bang.patch
"
build() {
- cd "$builddir"
+ # this is only needed for autogen.sh
+ _PATH=$PATH
+ ln -s /usr/bin/python3 "$srcdir"/python
+ export PATH=$srcdir:$PATH
+ ./autogen.sh
+ rm "$srcdir"/python
+ export PATH=$_PATH
+ # this is needed to fix the apr issue as well as the patch
+ # https://issues.apache.org/jira/browse/SVN-4813
+ export CPPFLAGS="$CPPFLAGS -P"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,12 +44,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" -j1 install
}
@@ -54,5 +64,6 @@ kwallet() {
mv "$pkgdir"/usr/lib/libsvn_auth_kwallet* "$subpkgdir"/usr/lib/
}
-sha512sums="c44a4a4a9533cd4f4cb6ddbc3ce98585a96da6c8e75497d087034b52f899797bb0972dfc0e79db99e81149e59e7fa765398c6ad35eba64f11f4ae9c3b3537434 subversion-1.10.4.tar.bz2
+sha512sums="2d082f715bf592ffc6a19311a9320dbae2ff0ee126b0472ce1c3f10e9aee670f43d894889430e6d093620f7b69c611e9a26773bc7a2f8b599ec37540ecd84a8d subversion-1.11.1.tar.bz2
+71b22f08a972a51347af00f979c4ec540c5795b44f3ced07ab2fcf8b1294b59add945983af4a63815d9f5d3b0ba88c24320cf2ec21189bf48c0ec46c7c0b48cf apr-1.7.0.patch
1b96b791f70c2f6e05da8dbc9d42ccadf4603f25392c6676c4e30ecdb142ce74dd9b8dc27dc68b1cb461f4409d79c4c2aeed1d39a5a442d9349079a819358f5a python3-bang.patch"