blob: 5efc2c99a2a2451f1700bcd61ffeac3a2680417f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#Maintainer: James An <james@jamesan.ca>
pkgname=pear-channel-phpseclib
pkgver=1
pkgrel=1
pkgdesc='PHP Secure Communications Library PEAR channel'
arch=('any')
url="http://phpseclib.sourceforge.net/"
license=('MIT')
depends=('php-pear')
options=('!strip')
source=(http://phpseclib.sourceforge.net/channel.xml)
md5sums=('f10b822379303e0b2ebd4072ae2ea7e6')
package() {
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} channel-add channel.xml
rm ${_PEARDIR}/{.depdb*,.filemap,.lock}
rm -r ${_PEARDIR}/.channels/{__uri.reg,*.php.net*}
rm ${_PEARDIR}/.channels/.alias/{pear.txt,pecl.txt,phpdocs.txt}
rm -r ${_PEARDIR}/.registry/{.channel.__uri,.channel.*.php.net}
}
|