[arch-commits] Commit in php-xcache/repos (6 files)

Pierre Schmitz pierre at nymeria.archlinux.org
Wed Sep 25 04:22:10 UTC 2013


    Date: Wednesday, September 25, 2013 @ 06:22:10
  Author: pierre
Revision: 195110

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  php-xcache/repos/testing-i686/
  php-xcache/repos/testing-i686/PKGBUILD
    (from rev 195109, php-xcache/trunk/PKGBUILD)
  php-xcache/repos/testing-i686/xcache.ini
    (from rev 195109, php-xcache/trunk/xcache.ini)
  php-xcache/repos/testing-x86_64/
  php-xcache/repos/testing-x86_64/PKGBUILD
    (from rev 195109, php-xcache/trunk/PKGBUILD)
  php-xcache/repos/testing-x86_64/xcache.ini
    (from rev 195109, php-xcache/trunk/xcache.ini)

---------------------------+
 testing-i686/PKGBUILD     |   43 +++++++++++++++++++++++++++++++++++++++++++
 testing-i686/xcache.ini   |    3 +++
 testing-x86_64/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/xcache.ini |    3 +++
 4 files changed, 92 insertions(+)

Copied: php-xcache/repos/testing-i686/PKGBUILD (from rev 195109, php-xcache/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-09-25 04:22:10 UTC (rev 195110)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=3.1.0dev
+_svnrev=1394
+pkgrel=14
+arch=('i686' 'x86_64')
+pkgdesc='A PHP opcode cacher'
+url='http://xcache.lighttpd.net/'
+depends=('php')
+makedepends=('subversion')
+license=('custom')
+source=("xcache-${pkgver}::svn://svn.lighttpd.net/xcache/trunk/#revision=${_svnrev}"
+        'xcache.ini')
+backup=('etc/php/conf.d/xcache.ini')
+md5sums=('SKIP'
+         '8fd9ce537ada9463c4b0c042243158c0')
+
+build() {
+	cd $srcdir/xcache-$pkgver
+	phpize
+	./configure --prefix=/usr
+	make
+}
+
+# check() {
+# 	cd $srcdir/xcache-$pkgver
+# 	printf "n\n" | make test
+# 	echo
+# }
+
+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 195109, php-xcache/trunk/xcache.ini)
===================================================================
--- testing-i686/xcache.ini	                        (rev 0)
+++ testing-i686/xcache.ini	2013-09-25 04:22:10 UTC (rev 195110)
@@ -0,0 +1,3 @@
+;extension=xcache.so
+xcache.size=64M
+xcache.var_size=64M

Copied: php-xcache/repos/testing-x86_64/PKGBUILD (from rev 195109, php-xcache/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-09-25 04:22:10 UTC (rev 195110)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-xcache
+pkgver=3.1.0dev
+_svnrev=1394
+pkgrel=14
+arch=('i686' 'x86_64')
+pkgdesc='A PHP opcode cacher'
+url='http://xcache.lighttpd.net/'
+depends=('php')
+makedepends=('subversion')
+license=('custom')
+source=("xcache-${pkgver}::svn://svn.lighttpd.net/xcache/trunk/#revision=${_svnrev}"
+        'xcache.ini')
+backup=('etc/php/conf.d/xcache.ini')
+md5sums=('SKIP'
+         '8fd9ce537ada9463c4b0c042243158c0')
+
+build() {
+	cd $srcdir/xcache-$pkgver
+	phpize
+	./configure --prefix=/usr
+	make
+}
+
+# check() {
+# 	cd $srcdir/xcache-$pkgver
+# 	printf "n\n" | make test
+# 	echo
+# }
+
+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-x86_64/xcache.ini (from rev 195109, php-xcache/trunk/xcache.ini)
===================================================================
--- testing-x86_64/xcache.ini	                        (rev 0)
+++ testing-x86_64/xcache.ini	2013-09-25 04:22:10 UTC (rev 195110)
@@ -0,0 +1,3 @@
+;extension=xcache.so
+xcache.size=64M
+xcache.var_size=64M




More information about the arch-commits mailing list