summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d8a38f5a7cd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Daniel Milde <info@milde.cz>
+pkgname=pecl-propro
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Property proxy"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/propro"
+license=('BSD')
+depends=('php')
+makedepends=('autoconf')
+source=(http://pecl.php.net/get/propro-${pkgver}.tgz)
+md5sums=('9c775035fd17c65f0162b7eb1b4f8564')
+
+build() {
+ cd ${srcdir}/propro-${pkgver}
+ phpize
+ ./configure
+ make
+}
+
+package() {
+ cd ${srcdir}/propro-${pkgver}
+ make INSTALL_ROOT=${pkgdir} install
+ install -d ${pkgdir}/etc/php/conf.d
+ echo ";extension=propro.so" > ${pkgdir}/etc/php/conf.d/propro.ini
+}