[arch-commits] Commit in php-apcu/repos (6 files)
Pierre Schmitz
pierre at archlinux.org
Sat Dec 3 08:15:31 UTC 2016
Date: Saturday, December 3, 2016 @ 08:15:30
Author: pierre
Revision: 282774
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
php-apcu/repos/staging-i686/
php-apcu/repos/staging-i686/PKGBUILD
(from rev 282773, php-apcu/trunk/PKGBUILD)
php-apcu/repos/staging-i686/apcu.ini
(from rev 282773, php-apcu/trunk/apcu.ini)
php-apcu/repos/staging-x86_64/
php-apcu/repos/staging-x86_64/PKGBUILD
(from rev 282773, php-apcu/trunk/PKGBUILD)
php-apcu/repos/staging-x86_64/apcu.ini
(from rev 282773, php-apcu/trunk/apcu.ini)
-------------------------+
staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
staging-i686/apcu.ini | 3 +++
staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/apcu.ini | 3 +++
4 files changed, 94 insertions(+)
Copied: php-apcu/repos/staging-i686/PKGBUILD (from rev 282773, php-apcu/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-12-03 08:15:30 UTC (rev 282774)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apcu
+pkgver=5.1.7
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A userland caching module for PHP'
+url='https://pecl.php.net/package/APCu'
+depends=('php')
+license=('PHP')
+source=("https://pecl.php.net/get/apcu-$pkgver.tgz"
+ 'apcu.ini')
+backup=('etc/php/conf.d/apcu.ini')
+md5sums=('7803b58fab6ecfe847ef5b9be6825dea'
+ 'a353f7efe61928aa2162720789fa171f')
+
+build() {
+ cd $srcdir/apcu-$pkgver
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $srcdir/apcu-$pkgver
+
+ export REPORT_EXIT_STATUS=1
+ export NO_INTERACTION=1
+ export SKIP_ONLINE_TESTS=1
+ export SKIP_SLOW_TESTS=1
+ make test
+}
+
+package() {
+ cd $srcdir/apcu-$pkgver
+
+ make INSTALL_ROOT=$pkgdir install
+
+ install -D -m644 $srcdir/apcu.ini $pkgdir/etc/php/conf.d/apcu.ini
+ install -D -m644 apc.php $pkgdir/usr/share/webapps/php-apcu/apc.php
+ install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apcu/install.txt
+}
Copied: php-apcu/repos/staging-i686/apcu.ini (from rev 282773, php-apcu/trunk/apcu.ini)
===================================================================
--- staging-i686/apcu.ini (rev 0)
+++ staging-i686/apcu.ini 2016-12-03 08:15:30 UTC (rev 282774)
@@ -0,0 +1,3 @@
+;extension=apcu.so
+; install php-apcu-bc and enable apc.so for APC compatibility
+;extension=apc.so
Copied: php-apcu/repos/staging-x86_64/PKGBUILD (from rev 282773, php-apcu/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-12-03 08:15:30 UTC (rev 282774)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apcu
+pkgver=5.1.7
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A userland caching module for PHP'
+url='https://pecl.php.net/package/APCu'
+depends=('php')
+license=('PHP')
+source=("https://pecl.php.net/get/apcu-$pkgver.tgz"
+ 'apcu.ini')
+backup=('etc/php/conf.d/apcu.ini')
+md5sums=('7803b58fab6ecfe847ef5b9be6825dea'
+ 'a353f7efe61928aa2162720789fa171f')
+
+build() {
+ cd $srcdir/apcu-$pkgver
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $srcdir/apcu-$pkgver
+
+ export REPORT_EXIT_STATUS=1
+ export NO_INTERACTION=1
+ export SKIP_ONLINE_TESTS=1
+ export SKIP_SLOW_TESTS=1
+ make test
+}
+
+package() {
+ cd $srcdir/apcu-$pkgver
+
+ make INSTALL_ROOT=$pkgdir install
+
+ install -D -m644 $srcdir/apcu.ini $pkgdir/etc/php/conf.d/apcu.ini
+ install -D -m644 apc.php $pkgdir/usr/share/webapps/php-apcu/apc.php
+ install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apcu/install.txt
+}
Copied: php-apcu/repos/staging-x86_64/apcu.ini (from rev 282773, php-apcu/trunk/apcu.ini)
===================================================================
--- staging-x86_64/apcu.ini (rev 0)
+++ staging-x86_64/apcu.ini 2016-12-03 08:15:30 UTC (rev 282774)
@@ -0,0 +1,3 @@
+;extension=apcu.so
+; install php-apcu-bc and enable apc.so for APC compatibility
+;extension=apc.so
More information about the arch-commits
mailing list