blob: 985691fcc78f9166a56a767bd6b809e30f018172 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgname=pear-net-ldap2
_pkgname=Net_LDAP2
pkgver=2.2.0
pkgrel=3
pkgdesc="Object oriented interface for searching and manipulating LDAP-entries"
url=http://pear.php.net/package/$_pkgname
arch=('any')
license=('PHP')
depends=('php-ldap' 'php-pear')
source=(http://download.pear.php.net/package/$_pkgname-$pkgver.tgz)
noextract=($_pkgname-$pkgver.tgz)
sha1sums=('4a66bc4d7d78d84e9aaa1bc16e7d2424923de05f')
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}
}
|