summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoroli2015-07-02 12:29:22 +0200
committeroli2015-07-02 12:35:43 +0200
commit8b335de5458415bda53bbd3f4071cf1107405479 (patch)
treecc6390e0deac376cd5c8728defe8822580f5f9f4 /PKGBUILD
downloadaur-8b335de5458415bda53bbd3f4071cf1107405479.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3997193c7ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=pear-net-ldap2
+_pkgname=Net_LDAP2
+pkgver=2.1.0
+pkgrel=2
+pkgdesc="Object oriented interface for searching and manipulating LDAP-entries"
+url=http://pear.php.net/package/$_pkgname
+arch=('any')
+license=('PHP')
+depends=('php-ldap')
+makedepends=('php-pear')
+source=(http://download.pear.php.net/package/$_pkgname-$pkgver.tgz)
+noextract=($_pkgname-$pkgver.tgz)
+md5sums=('d2297dc542e25f7cc998865504a14c4d')
+
+package() {
+ cd ${srcdir}
+ local _PEARDIR="${pkgdir}/usr/share/pear"
+ local _PEAROPTS="-D php_dir=${_PEARDIR} -D doc_dir=${_PEARDIR}/doc"
+ local _PEAROPTS="${_PEAROPTS} -D test_dir=${_PEARDIR}/test"
+ local _PEAROPTS="${_PEAROPTS} -D data_dir=${_PEARDIR}/data"
+ pear ${_PEAROPTS} install -O -n ${_pkgname}-${pkgver}.tgz
+ rm -r ${_PEARDIR}/{.channels,.depdb*,.filemap,.lock,.registry}
+}
+