diff options
author | Felix Yan | 2015-07-23 20:15:40 +0800 |
---|---|---|
committer | Felix Yan | 2015-07-23 20:15:40 +0800 |
commit | 2e43aae6022ccf9b86660423515bfa2b989e81e1 (patch) | |
tree | b114bb17a952f4a00b6fc0761601eb7daa51ef04 | |
download | aur-2e43aae6022ccf9b86660423515bfa2b989e81e1.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 17 | ||||
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | xcache.ini | 3 |
4 files changed, 79 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..acca70d8ccd3 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,17 @@ +pkgbase = php53-xcache + pkgdesc = A PHP 5.3 opcode cacher + pkgver = 3.2.0 + pkgrel = 1 + url = http://xcache.lighttpd.net/ + arch = i686 + arch = x86_64 + license = custom + depends = php53 + backup = etc/php/conf.d/xcache.ini + source = http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.bz2 + source = xcache.ini + md5sums = 3655bd20483dc23d24f87f9dc924a62e + md5sums = 8fd9ce537ada9463c4b0c042243158c0 + +pkgname = php53-xcache + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..acca70d8ccd3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = php53-xcache + pkgdesc = A PHP 5.3 opcode cacher + pkgver = 3.2.0 + pkgrel = 1 + url = http://xcache.lighttpd.net/ + arch = i686 + arch = x86_64 + license = custom + depends = php53 + backup = etc/php/conf.d/xcache.ini + source = http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.bz2 + source = xcache.ini + md5sums = 3655bd20483dc23d24f87f9dc924a62e + md5sums = 8fd9ce537ada9463c4b0c042243158c0 + +pkgname = php53-xcache + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ee5908bc4691 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=php53-xcache +pkgver=3.2.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='A PHP 5.3 opcode cacher' +url='http://xcache.lighttpd.net/' +depends=('php53') +license=('custom') +source=("http://xcache.lighttpd.net/pub/Releases/${pkgver}/xcache-${pkgver}.tar.bz2" + 'xcache.ini') +backup=('etc/php/conf.d/xcache.ini') +md5sums=('3655bd20483dc23d24f87f9dc924a62e' + '8fd9ce537ada9463c4b0c042243158c0') + +build() { + cd $srcdir/xcache-$pkgver + phpize + ./configure --prefix=/usr + make +} + +check() { + cd $srcdir/xcache-$pkgver + export NO_INTERACTION=1 + make test + echo +} + +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/webapps/php53-xcache + cp -r htdocs/* $pkgdir/usr/share/webapps/php53-xcache/ + + install -Dm644 COPYING $pkgdir/usr/share/licenses/php53-xcache/COPYING +} diff --git a/xcache.ini b/xcache.ini new file mode 100644 index 000000000000..b814dbce11b5 --- /dev/null +++ b/xcache.ini @@ -0,0 +1,3 @@ +;extension=xcache.so +xcache.size=64M +xcache.var_size=64M |