summaryrefslogtreecommitdiff
path: root/extra/php-xcache/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-11 00:03:00 +0000
committerroot <root@rshg054.dnsready.net>2012-05-11 00:03:00 +0000
commit2ced64d6aa5881fa575de1861c464c432deee26f (patch)
tree55c4d54265bcc869257a2f1bedc5d75476878366 /extra/php-xcache/PKGBUILD
parent1adfdd111d570a6dfc66543a2858d9554c73e7a7 (diff)
Fri May 11 00:03:00 UTC 2012
Diffstat (limited to 'extra/php-xcache/PKGBUILD')
-rw-r--r--extra/php-xcache/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/php-xcache/PKGBUILD b/extra/php-xcache/PKGBUILD
new file mode 100644
index 000000000..12c602b92
--- /dev/null
+++ b/extra/php-xcache/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=php-xcache
+pkgver=2.0.0
+pkgrel=3
+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')
+backup=('etc/php/conf.d/xcache.ini')
+md5sums=('0e30cdff075c635e475d70a5c37d0252'
+ 'bba7ead3e592a7980aa91a8600973587')
+
+build() {
+ cd $srcdir/xcache-$pkgver
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+# check() {
+# cd $srcdir/xcache-$pkgver
+# make test
+# }
+
+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
+ install -m644 admin/* $pkgdir/usr/share/php-xcache/admin/
+
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/php-xcache/COPYING
+}