summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatteo Mattei2015-06-30 17:35:13 +0200
committerMatteo Mattei2015-06-30 17:35:13 +0200
commitdcb9c0f337e0e813b2dcea12580bb7298dcae9f1 (patch)
treeefd6f1fbec493423bb547868f6b0b8c7386765c5 /PKGBUILD
downloadaur-dcb9c0f337e0e813b2dcea12580bb7298dcae9f1.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2a76940e48
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Matteo Mattei <info@matteomattei.com>
+
+pkgname=php-pam
+_extname=pam
+pkgver=1.0.3
+pkgrel=3
+pkgdesc="This extension provides PAM (Pluggable Authentication Modules) integration in PHP."
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/PAM"
+license=('PHP')
+depends=('php' 'pam' 'php-pear')
+makedepends=('autoconf')
+#install=php-pam.install
+source=(http://pecl.php.net/get/pam-${pkgver}.tgz pam.ini php)
+md5sums=('2dfd378a76021245050333cd4d49ed96' '9582d5f0476e486f2c3084940f1abd86' '5fb207f61ff94b0cc7a2dcc1e3c1c388')
+
+build() {
+ cd "${_extname}-${pkgver}"
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${_extname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+ install -D -m644 "${srcdir}/${_extname}.ini" "${pkgdir}/etc/php/conf.d/${_extname}.ini"
+ install -D -m644 "${srcdir}/php" ${pkgdir}/etc/pam.d/php
+}