archrelease: copy trunk to extra-x86_64
[arch-packages.git] / php-apcu-bc / trunk / PKGBUILD
blobe7a824346ed9c99fd8e2262a0e7aa732de5a7849
1 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
3 pkgname=php-apcu-bc
4 pkgver=1.0.5
5 pkgrel=3
6 arch=('x86_64')
7 pkgdesc='APCu Backwards Compatibility Module'
8 url='https://pecl.php.net/package/apcu_bc'
9 depends=('php-apcu')
10 license=('PHP')
11 source=("https://pecl.php.net/get/apcu_bc-$pkgver.tgz")
12 md5sums=('8aa7b1c8aa613c6bc720fe785b21037b')
14 build() {
15         cd $srcdir/apcu_bc-$pkgver
17         phpize
18         ./configure --prefix=/usr
19         make
22 check() {
23         cd $srcdir/apcu_bc-$pkgver
25         export REPORT_EXIT_STATUS=1
26         export NO_INTERACTION=1
27         export SKIP_ONLINE_TESTS=1
28         export SKIP_SLOW_TESTS=1
30         php -n run-tests.php -n -P -d extension=apcu.so -d extension=modules/apc.so
33 package() {
34         cd $srcdir/apcu_bc-$pkgver
36         make INSTALL_ROOT=$pkgdir install