[arch-commits] Commit in php-apcu-bc/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sun Dec 3 14:01:13 UTC 2017
Date: Sunday, December 3, 2017 @ 14:01:13
Author: pierre
Revision: 311561
archrelease: copy trunk to staging-x86_64
Added:
php-apcu-bc/repos/staging-x86_64/
php-apcu-bc/repos/staging-x86_64/PKGBUILD
(from rev 311560, php-apcu-bc/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: php-apcu-bc/repos/staging-x86_64/PKGBUILD (from rev 311560, php-apcu-bc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-12-03 14:01:13 UTC (rev 311561)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apcu-bc
+pkgver=1.0.3
+pkgrel=3
+arch=('x86_64')
+pkgdesc='APCu Backwards Compatibility Module'
+url='https://pecl.php.net/package/apcu_bc'
+depends=('php-apcu')
+license=('PHP')
+source=("https://pecl.php.net/get/apcu_bc-$pkgver.tgz")
+md5sums=('2ba61ea2cf887814e702e25ad7f1a5e1')
+
+build() {
+ cd $srcdir/apcu_bc-$pkgver
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $srcdir/apcu_bc-$pkgver
+
+ export REPORT_EXIT_STATUS=1
+ export NO_INTERACTION=1
+ export SKIP_ONLINE_TESTS=1
+ export SKIP_SLOW_TESTS=1
+
+ php -n run-tests.php -n -P -d extension=apcu.so -d extension=modules/apc.so
+}
+
+package() {
+ cd $srcdir/apcu_bc-$pkgver
+
+ make INSTALL_ROOT=$pkgdir install
+}
More information about the arch-commits
mailing list