summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFelix Yan2018-08-07 02:22:03 +0800
committerFelix Yan2018-08-07 02:22:03 +0800
commitd31c27ceefde50cfdc7f7fdef24d80f04efee23b (patch)
tree0c476f8112659afe17fe5358dcb2500100ae0974 /PKGBUILD
parent505bb910fdca50bf7003b80dde5faf1ee547b13d (diff)
downloadaur-php56-xcache.tar.gz
initial php56-xcache
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0adf0a35b83..213f9ce3b0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,24 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
-pkgname=php53-xcache
+pkgname=php56-xcache
pkgver=3.2.0
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64')
-pkgdesc='A PHP 5.3 opcode cacher'
+pkgdesc='A PHP 5.6 opcode cacher'
url='http://xcache.lighttpd.net/'
-depends=('php53')
+depends=('php56')
license=('custom')
source=("http://xcache.lighttpd.net/pub/Releases/${pkgver}/xcache-${pkgver}.tar.bz2"
'xcache.ini')
-backup=('etc/php/conf.d/xcache.ini')
+backup=('etc/php56/conf.d/xcache.ini')
md5sums=('3655bd20483dc23d24f87f9dc924a62e'
'8fd9ce537ada9463c4b0c042243158c0')
build() {
cd $srcdir/xcache-$pkgver
- phpize53
- ./configure --prefix=/usr --sysconfdir=/etc/php53 --with-php-config=/usr/bin/php-config53
+ phpize56
+ ./configure --prefix=/usr --sysconfdir=/etc/php56 --with-php-config=/usr/bin/php-config56
make
}
@@ -33,10 +33,10 @@ package() {
cd $srcdir/xcache-$pkgver
make INSTALL_ROOT=$pkgdir install
- install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php53/conf.d/xcache.ini
+ install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php56/conf.d/xcache.ini
- install -dm755 $pkgdir/usr/share/webapps/php53-xcache
- cp -r htdocs/* $pkgdir/usr/share/webapps/php53-xcache/
+ install -dm755 $pkgdir/usr/share/webapps/php56-xcache
+ cp -r htdocs/* $pkgdir/usr/share/webapps/php56-xcache/
- install -Dm644 COPYING $pkgdir/usr/share/licenses/php53-xcache/COPYING
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/php56-xcache/COPYING
}