updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / php-svn / PKGBUILD
blob6062c0f58a11f113e9e1426a85a88f8dfecfefcb
1 pkgname=php-svn
2 pkgver=1.0.1
3 pkgrel=1
4 pkgdesc="PHP Bindings for the Subversion Revision control system."
5 arch=('i686' 'x86_64')
6 makedepends=('gcc' 'make' 'subversion' 'php')
7 depends=('php' 'subversion')
8 url="http://pecl.php.net/package/svn"
9 license=('PHP License')
10 source=("http://pecl.php.net/get/svn-${pkgver}.tgz")
11 md5sums=('4662eb974c76cac762036fbc1f0671da')
12 build() {
13         local _src_dir="${srcdir}/svn-${pkgver}"
14         local _build_dir="${_src_dir}/objs"
16         cd "${_src_dir}"
17         ./configure
18         make
19         mkdir -p "${pkgdir}/etc/php/conf.d/"
20         echo "extension=svn.so" > "${pkgdir}/etc/php/conf.d/svn.ini"
21         install -D -m644 modules/svn.so "${pkgdir}/usr/lib/php/modules/svn.so"