[arch-commits] Commit in php-apc/repos (4 files)

Pierre Schmitz pierre at archlinux.org
Thu Apr 26 10:09:34 EDT 2012


    Date: Thursday, April 26, 2012 @ 10:09:33
  Author: pierre
Revision: 157245

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  php-apc/repos/staging-i686/
  php-apc/repos/staging-i686/PKGBUILD
    (from rev 157244, php-apc/trunk/PKGBUILD)
  php-apc/repos/staging-x86_64/
  php-apc/repos/staging-x86_64/PKGBUILD
    (from rev 157244, php-apc/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: php-apc/repos/staging-i686/PKGBUILD (from rev 157244, php-apc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-04-26 14:09:33 UTC (rev 157245)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apc
+pkgver=3.1.10
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
+url='http://pecl.php.net/package/APC'
+depends=('php')
+license=('PHP')
+source=("http://pecl.php.net/get/APC-${pkgver}.tgz")
+backup=('etc/php/conf.d/apc.ini')
+md5sums=('f4a6b91903d6ba9dce89fc87bb6f26c9')
+
+build() {
+	cd $srcdir/APC-$pkgver
+	phpize
+	./configure --prefix=/usr
+	make
+}
+
+# check() {
+# 	cd $srcdir/APC-$pkgver
+# 	make test
+# }
+
+package() {
+	cd $srcdir/APC-$pkgver
+	make INSTALL_ROOT=$pkgdir install
+	echo ';extension=apc.so' > apc.ini
+	install -D -m644 apc.ini $pkgdir/etc/php/conf.d/apc.ini
+	install -D -m644 apc.php $pkgdir/usr/share/php-apc/apc.php
+	install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apc/install.txt
+}

Copied: php-apc/repos/staging-x86_64/PKGBUILD (from rev 157244, php-apc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-04-26 14:09:33 UTC (rev 157245)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-apc
+pkgver=3.1.10
+pkgrel=2
+arch=('i686' 'x86_64')
+pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
+url='http://pecl.php.net/package/APC'
+depends=('php')
+license=('PHP')
+source=("http://pecl.php.net/get/APC-${pkgver}.tgz")
+backup=('etc/php/conf.d/apc.ini')
+md5sums=('f4a6b91903d6ba9dce89fc87bb6f26c9')
+
+build() {
+	cd $srcdir/APC-$pkgver
+	phpize
+	./configure --prefix=/usr
+	make
+}
+
+# check() {
+# 	cd $srcdir/APC-$pkgver
+# 	make test
+# }
+
+package() {
+	cd $srcdir/APC-$pkgver
+	make INSTALL_ROOT=$pkgdir install
+	echo ';extension=apc.so' > apc.ini
+	install -D -m644 apc.ini $pkgdir/etc/php/conf.d/apc.ini
+	install -D -m644 apc.php $pkgdir/usr/share/php-apc/apc.php
+	install -D -m644 INSTALL $pkgdir/usr/share/doc/php-apc/install.txt
+}



More information about the arch-commits mailing list