blob: b7534ce1d90843252ee9155a5f36c51acc938c68 (
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
27
|
# Maintainer: Amish <contact at via dot aur>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=php-pear
epoch=1
pkgver=1.10.24
pkgrel=1
arch=('any')
pkgdesc='PHP Extension and Application Repository'
url='https://pear.php.net/package/pearweb_phars/'
depends=('php')
license=('PHP')
source=("install-pear-nozlib-${pkgver}.phar::https://github.com/pear/pearweb_phars/raw/v${pkgver}/install-pear-nozlib.phar"
"install-pear-nozlib-${pkgver}.phar.sig::https://github.com/pear/pearweb_phars/raw/v${pkgver}/install-pear-nozlib.sig")
backup=('etc/php/pear.conf')
sha256sums=('7226dfc7aedaf1018039445958583789ec7144fe22ed17a2ba6850eceaf8ab55'
'SKIP')
validpgpkeys=('10F68CF73F8AA426F617752972A321BAC245F175')
package() {
PHP_PEAR_SYSCONF_DIR=/etc/php \
INSTALL_ROOT="${pkgdir}" \
php -n "install-pear-nozlib-${pkgver}.phar" \
-d /usr/share/pear \
-b /usr/bin
rm -rf "${pkgdir}"{/usr/share/pear/,/}.{channels,depdb,depdblock,filemap,lock,registry}
}
|