summaryrefslogtreecommitdiffstats
path: root/php-imagick
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:51 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:54 +0100
commitcae7b71196612d90c08c39ba2bdc8d0d974aa412 (patch)
tree8a293f8e7396a57bdddd40599d2caaa44ea935d8 /php-imagick
parente318f0b35c97d42347d4784cb5706e0f69d06532 (diff)
downloadaur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.gz
aur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.xz
mass updates/adds
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'php-imagick')
-rw-r--r--php-imagick/PKGBUILD25
-rw-r--r--php-imagick/php-imagick.install14
2 files changed, 39 insertions, 0 deletions
diff --git a/php-imagick/PKGBUILD b/php-imagick/PKGBUILD
new file mode 100644
index 0000000..80936d1
--- /dev/null
+++ b/php-imagick/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Evangelos Foutras <foutrelis@gmail.com>
+
+pkgname=php-imagick
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="PHP extension for IMagick"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/imagick"
+license=('PHP')
+depends=('php' 'imagemagick')
+backup=('etc/php/conf.d/memcached.ini')
+install=php-imagick.install
+source=(http://pecl.php.net/get/imagick-$pkgver.tgz)
+
+build() {
+ cd "$srcdir/imagick-$pkgver"
+
+ phpize || return 1
+ ./configure --prefix=/usr
+ make || return 1
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=imagick.so' > imagick.ini
+ install -D -m644 imagick.ini "$pkgdir/etc/php/conf.d/imagick.ini"
+}
+md5sums=('1493a21b37e209cc59764ac1ca2a1af9')
diff --git a/php-imagick/php-imagick.install b/php-imagick/php-imagick.install
new file mode 100644
index 0000000..266402b
--- /dev/null
+++ b/php-imagick/php-imagick.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo '
+ ==> PHP extension
+
+ A config file was stored under /etc/php/conf.d/. In order to use this
+ extension make sure to uncomment it from its config file.
+ '
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: