Date: Saturday, June 14, 2014 @ 12:55:52
  Author: pierre
Revision: 215106

upgpkg: php-xcache 3.1.0-2

Modified:
  php-xcache/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-06-14 08:08:00 UTC (rev 215105)
+++ PKGBUILD    2014-06-14 10:55:52 UTC (rev 215106)
@@ -3,7 +3,7 @@
 
 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 @@
        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 @@
 
        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
 }

Reply via email to