# Maintainer: Natanael Copa pkgname=subversion pkgver=1.6.15 pkgrel=1 pkgdesc="Replacement for CVS, another versioning system (svn)" url="http://subversion.tigris.org/" arch="all" license="apache bsd" depends= makedepends="apr-dev apr-util-dev expat-dev neon-dev openssl-dev zlib-dev e2fsprogs-dev sqlite-dev" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc" source="http://subversion.tigris.org/downloads/subversion-$pkgver.tar.bz2 svnserve.confd svnserve.initd " _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure --prefix=/usr \ --disable-nls \ --without-apxs \ --disable-javahl \ --without-jdk make external-all || return 1 make local-all || return 1 } package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 install -Dm755 "$srcdir"/svnserve.initd "$pkgdir"/etc/init.d/svnserve install -Dm644 "$srcdir"/svnserve.confd "$pkgdir"/etc/conf.d/svnserve } md5sums="113fca1d9e4aa389d7dc2b210010fa69 subversion-1.6.15.tar.bz2 d084a7558053784886bc858b94fa9186 svnserve.confd 22c274fafb4817e31126f60f9d84039f svnserve.initd"