Subject: [alpine-aports] [PATCH] testing/php-imagick: upgrade to 3.4.1

From: Valery Kartel <[email-masked]>
Date: Fri, 15 Apr 2016 12:49:53 +0300

---
 testing/php-imagick/APKBUILD | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/testing/php-imagick/APKBUILD b/testing/php-imagick/APKBUILD
index baed8e8..0305d52 100644
--- a/testing/php-imagick/APKBUILD
+++ b/testing/php-imagick/APKBUILD
@@ -2,8 +2,7 @@
 # Maintainer: Valery Kartel <[email-masked]>
 pkgname=php-imagick
 _pkgreal=imagick
-pkgver=3.4.0
-_pkgver=${pkgver/_rc/RC}
+pkgver=3.4.1
 pkgrel=0
 pkgdesc="PHP bindings to the ImageMagick library."
 url="http://pecl.php.net/package/imagick"
@@ -14,12 +13,16 @@ pecldepends="php-dev autoconf"
 makedepends="$pecldepends imagemagick-dev libtool"
 install=""
 subpackages=""
-source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
 
-_builddir="$srcdir"/$_pkgreal-$_pkgver
-build() {
+_builddir="$srcdir"/$_pkgreal-$pkgver
+prepare() {
 	cd "$_builddir"
 	phpize || return 1
+}
+
+build() {
+	cd "$_builddir"
 	./configure --prefix=/usr || return 1
 	make || return 1
 }
@@ -32,6 +35,6 @@ package() {
 	[ -d "$pkgdir"/usr/include ] && rm -fr "$pkgdir"/usr/include
 }
 
-md5sums="3790ce247afb5365f23a264d4c3bd6b7  imagick-3.4.0.tgz"
-sha256sums="7f20c765c25195734a88ad2c127f2ba62bfc353a61f3abb6f75a3acbc613d1b5  imagick-3.4.0.tgz"
-sha512sums="e9819d102cd657b1cbdf911bc61b0987ab131aed65a2d413fe75f24cf5e80b3165d743acae8b166b5df60340312acbb83e56f2f6c263d5062f906c4a7b38ab93  imagick-3.4.0.tgz"
+md5sums="cc4f119a5f27b582f0f10e61451e266f  imagick-3.4.1.tgz"
+sha256sums="a729fbd69e0aa145824d61dc9225bfb636dcd8421874a5667ac3822e609449e1  imagick-3.4.1.tgz"
+sha512sums="9cfaa8dcd56dd2493202b9f2e995ce754080c1309ab8c559f9679b186746000440f460d44f6b133878458ff6fea8bbbf0086c6ec93cc8913cd783610bf70d32f  imagick-3.4.1.tgz"
-- 
2.8.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---