1 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
7 pkgdesc='A PHP opcode cacher'
8 url='http://xcache.lighttpd.net/'
11 source=("http://xcache.lighttpd.net/pub/Releases/${pkgver}/xcache-${pkgver}.tar.bz2"
13 backup=('etc/php/conf.d/xcache.ini')
14 md5sums=('51bbbf533f4b476c73373f9f480f3097'
15 '8fd9ce537ada9463c4b0c042243158c0')
18 cd $srcdir/xcache-$pkgver
20 ./configure --prefix=/usr
25 cd $srcdir/xcache-$pkgver
26 export NO_INTERACTION=1
32 cd $srcdir/xcache-$pkgver
33 make INSTALL_ROOT=$pkgdir install
35 install -Dm644 $srcdir/xcache.ini $pkgdir/etc/php/conf.d/xcache.ini
37 install -dm755 $pkgdir/usr/share/webapps/php-xcache
38 cp -r htdocs/* $pkgdir/usr/share/webapps/php-xcache/
40 install -Dm644 COPYING $pkgdir/usr/share/licenses/php-xcache/COPYING