blob: 4eb47731d20be5a39099f4f3029985f77b4124f9 (
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
28
29
30
31
|
# Contributor: Spencer Rinehart <anubis@overthemonkey.com>
_extname=wddx
pkgname=("php-${_extname}")
pkgver=7.0.14
pkgrel=2
pkgdesc="PHP extension for wddx"
arch=('i686' 'x86_64')
url='https://secure.php.net/wddx'
license=('PHP')
depends=('php')
backup=("etc/php/conf.d/${_extname}.ini")
install="php-${_extname}.install"
source=("https://secure.php.net/distributions/php-${pkgver}.tar.gz")
md5sums=('5e20062f39fb3bd5afeed916866acad9')
build() {
cd "php-${pkgver}/ext/${_extname}"
phpize
./configure --prefix=/usr
make
}
package() {
cd "php-${pkgver}/ext/${_extname}"
make INSTALL_ROOT="${pkgdir}" install
echo "extension=${_extname}.so" > "${_extname}.ini"
install -D -m644 "${_extname}.ini" "${pkgdir}/etc/php/conf.d/${_extname}.ini"
}
|