Date: Monday, September 8, 2014 @ 17:30:28
  Author: pierre
Revision: 221158

upgpkg: php-xcache 3.2.0-1

Modified:
  php-xcache/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-09-08 14:41:15 UTC (rev 221157)
+++ PKGBUILD    2014-09-08 15:30:28 UTC (rev 221158)
@@ -2,29 +2,22 @@
 # Maintainer: Pierre Schmitz <pie...@archlinux.de>
 
 pkgname=php-xcache
-pkgver=3.1.0
-pkgrel=4
+pkgver=3.2.0
+_pkgver=${pkgver}-rc1
+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' 'xcache-r1486.patch')
+source=("http://xcache.lighttpd.net/pub/Releases/${_pkgver}/xcache-${_pkgver}.tar.bz2";
+        'xcache.ini')
 backup=('etc/php/conf.d/xcache.ini')
-md5sums=('e5816d47d52be200b959bf69a673ff74'
-         '8fd9ce537ada9463c4b0c042243158c0'
-         '552024a7fdcfd5d3f9c069135e35a52e')
+md5sums=('f2ff89e969381039f13369f3387142da'
+         '8fd9ce537ada9463c4b0c042243158c0')
 
-prepare() {
-       cd $srcdir/xcache-$pkgver
-       # Patch by Debian
-       # http://anonscm.debian.org/cgit/pkg-php/xcache.git/tree/debian/patches
-       patch -p1 -i $srcdir/xcache-r1486.patch
-}
-
 build() {
-       cd $srcdir/xcache-$pkgver
+       cd $srcdir/$_pkgver
        phpize
        ./configure --prefix=/usr
        make
@@ -31,7 +24,7 @@
 }
 
 check() {
-       cd $srcdir/xcache-$pkgver
+       cd $srcdir/$_pkgver
        export NO_INTERACTION=1
        make test
        echo
@@ -38,7 +31,7 @@
 }
 
 package() {
-       cd $srcdir/xcache-$pkgver
+       cd $srcdir/$_pkgver
        make INSTALL_ROOT=$pkgdir install
 
        install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php/conf.d/xcache.ini

Reply via email to