[arch-commits] Commit in php-xcache/repos (4 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Wed Jun 12 18:42:36 UTC 2013
Date: Wednesday, June 12, 2013 @ 20:42:36
Author: pierre
Revision: 188200
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
php-xcache/repos/testing-i686/
php-xcache/repos/testing-i686/PKGBUILD
(from rev 188199, php-xcache/trunk/PKGBUILD)
php-xcache/repos/testing-i686/xcache.ini
(from rev 188199, php-xcache/trunk/xcache.ini)
php-xcache/repos/testing-x86_64/
------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
xcache.ini | 3 +++
2 files changed, 43 insertions(+)
Copied: php-xcache/repos/testing-i686/PKGBUILD (from rev 188199, php-xcache/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-06-12 18:42:36 UTC (rev 188200)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=3.0.2
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc='A PHP opcode cacher'
+url='http://xcache.lighttpd.net/'
+depends=('php')
+license=('custom')
+source=("http://xcache.lighttpd.net/pub/Releases/${pkgver}/xcache-${pkgver}.tar.bz2"
+ 'xcache.ini')
+backup=('etc/php/conf.d/xcache.ini')
+md5sums=('7371a057be0f53ba5a5ed09fdf11ae77'
+ '8fd9ce537ada9463c4b0c042243158c0')
+
+build() {
+ cd $srcdir/xcache-$pkgver
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+# check() {
+# cd $srcdir/xcache-$pkgver
+# make test
+# }
+
+package() {
+ cd $srcdir/xcache-$pkgver
+ make INSTALL_ROOT=$pkgdir install
+
+ install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php/conf.d/xcache.ini
+
+ install -dm755 $pkgdir/usr/share/php-xcache/admin
+ cp -r htdocs/* $pkgdir/usr/share/php-xcache/admin/
+
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/php-xcache/COPYING
+}
Copied: php-xcache/repos/testing-i686/xcache.ini (from rev 188199, php-xcache/trunk/xcache.ini)
===================================================================
--- testing-i686/xcache.ini (rev 0)
+++ testing-i686/xcache.ini 2013-06-12 18:42:36 UTC (rev 188200)
@@ -0,0 +1,3 @@
+;extension=xcache.so
+xcache.size=64M
+xcache.var_size=64M
More information about the arch-commits
mailing list