summaryrefslogtreecommitdiff
path: root/extra/php-xcache
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-17 03:27:11 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-17 03:27:11 +0000
commit6459b84bf754eda5323f40eb7af76dde65b63251 (patch)
tree81947a270848520d4cf2f9d1c5ce91ced54fcdff /extra/php-xcache
parent942111e62628e9a5c4729563215b1cfb8911735e (diff)
Tue Jun 17 03:23:47 UTC 2014
Diffstat (limited to 'extra/php-xcache')
-rw-r--r--extra/php-xcache/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/extra/php-xcache/PKGBUILD b/extra/php-xcache/PKGBUILD
index 22393296e..cb0bccb8f 100644
--- a/extra/php-xcache/PKGBUILD
+++ b/extra/php-xcache/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 196293 2013-10-11 06:26:09Z pierre $
+# $Id: PKGBUILD 215107 2014-06-14 10:56:09Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=php-xcache
pkgver=3.1.0
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
pkgdesc='A PHP opcode cacher'
url='http://xcache.lighttpd.net/'
@@ -22,11 +22,12 @@ build() {
make
}
-# check() {
-# cd $srcdir/xcache-$pkgver
-# printf "n\n" | make test
-# echo
-# }
+check() {
+ cd $srcdir/xcache-$pkgver
+ export NO_INTERACTION=1
+ make test
+ echo
+}
package() {
cd $srcdir/xcache-$pkgver
@@ -34,8 +35,8 @@ package() {
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 -dm755 $pkgdir/usr/share/webapps/php-xcache
+ cp -r htdocs/* $pkgdir/usr/share/webapps/php-xcache/
install -Dm644 COPYING $pkgdir/usr/share/licenses/php-xcache/COPYING
}