summaryrefslogtreecommitdiff
path: root/extra/subversion
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-20 00:01:59 +0000
committerroot <root@rshg054.dnsready.net>2012-04-20 00:01:59 +0000
commit68572eac2031955131806e1ab066f5aaac1396e2 (patch)
treea7ad0bf8988effbf1a55c885f968d10660055cf9 /extra/subversion
parent85ca6bfccdec6939881572fb1154f1a07d54937c (diff)
Fri Apr 20 00:01:59 UTC 2012
Diffstat (limited to 'extra/subversion')
-rw-r--r--extra/subversion/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index ca0b82db5..ddd7ae1b3 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 153509 2012-03-15 09:58:34Z stephane $
-# Maintainer: Paul Mattal <paul@archlinux.org>
+# $Id: PKGBUILD 156457 2012-04-18 12:20:57Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=subversion
pkgver=1.7.4
-pkgrel=1
+pkgrel=3
pkgdesc="A Modern Concurrent Version Control System"
arch=('i686' 'x86_64')
license=('APACHE')
-depends=('neon' 'apr-util' 'sqlite3' 'file')
+depends=('neon' 'apr-util' 'sqlite' 'file')
optdepends=('libgnome-keyring' 'kdeutils-kwallet' 'bash-completion: for svn bash completion' \
- 'python2: for some hook scripts' 'ruby: for some hook scripts')
+ 'python2: for some hook scripts' 'ruby: for some hook scripts' 'java-environment')
makedepends=('krb5' 'apache' 'python2' 'perl' 'swig' 'java-runtime' 'java-environment'
'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.apache.org/"
provides=('svn')
-options=('!makeflags' '!libtool')
+options=('!makeflags' '!libtool' '!emptydirs')
source=(http://apache.mirror.rafal.ca/subversion/$pkgname-$pkgver.tar.bz2{,.asc}
svnserve svn svnserve.conf subversion.rpath.fix.patch)
sha1sums=('57a3cd351c1dbedddd020e7a1952df6cd2674527'
@@ -53,7 +54,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- export LD_LIBRARY_PATH="${pkgdir}"/usr/lib:$LD_LIBRARY_PATH
+ export LD_LIBRARY_PATH="${pkgdir}"/usr/lib:${LD_LIBRARY_PATH}
make DESTDIR="${pkgdir}" INSTALLDIRS=vendor \
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
@@ -70,7 +71,10 @@ package() {
install -D -m 644 "${srcdir}"/svn "${pkgdir}"/etc/xinetd.d/svn
install -D -m 644 "${srcdir}"/svnserve.conf "${pkgdir}"/etc/conf.d/svnserve
- # bash completion
install -Dm 644 tools/client-side/bash_completion \
- "${pkgdir}"/etc/bash_completion.d/subversion
+ "${pkgdir}"/usr/share/bash-completion/completions/subversion
+ for i in svn svnadmin svndumpfilter svnlook svnsync svnversion; do
+ ln -sf subversion "${pkgdir}"/usr/share/bash-completion/completions/${i}
+ done
+
}