[arch-commits] Commit in php-apcu-bc/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Dec 8 12:28:20 UTC 2018


    Date: Saturday, December 8, 2018 @ 12:28:19
  Author: pierre
Revision: 341263

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 341262, php-apcu-bc/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: php-apcu-bc/repos/staging-x86_64/PKGBUILD (from rev 341262, php-apcu-bc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-12-08 12:28:19 UTC (rev 341263)
@@ -0,0 +1,37 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apcu-bc
+pkgver=1.0.4
+pkgrel=2
+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=('054724a6518ced14dd2fb32010819050')
+
+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