Subject: [alpine-aports] [PATCH] testing/php7-redis: Package update

From: Fabio Ribeiro <[email-masked]>
Date: Sun, 9 Apr 2017 12:25:16 -0300

---
 testing/php7-redis/APKBUILD | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/testing/php7-redis/APKBUILD b/testing/php7-redis/APKBUILD
index 59d3824eaa..c0752cb1b2 100644
--- a/testing/php7-redis/APKBUILD
+++ b/testing/php7-redis/APKBUILD
@@ -2,23 +2,19 @@
 # Maintainer: Fabio Ribeiro <[email-masked]>
 pkgname=php7-redis
 _pkgreal=redis
-_pkgrepo=phpredis
-pkgver=3.0.0
-# There's no tag for php7 variant; this is SHA of the commit in the php7 branch
-# with version bump.
-_pkgrev=64479400a0b3c7b8b006e5de905836e4d764a763
-pkgrel=1
-pkgdesc="PHP extension for interfacing with Redis (Dev PHP7)"
-url="https://github.com/$_pkgrepo/$_pkgrepo/tree/php7"
-arch="x86_64 armhf"
+pkgver=3.1.2
+pkgrel=0
+pkgdesc="PHP extension for interfacing with Redis"
+url="https://pecl.php.net/package/redis"
+arch="all"
 license="PHP"
 depends="php7-session"
-pecldepends="php7-dev autoconf"
-makedepends="$pecldepends"
+makedepends="php7-dev autoconf"
 install=""
 subpackages=""
-source="$_pkgrepo-$_pkgrev.tar.gz::https://github.com/$_pkgrepo/$_pkgrepo/archive/$_pkgrev.tar.gz"
-builddir="$srcdir/$_pkgrepo-$_pkgrev"
+source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
+
+builddir="$srcdir"/$_pkgreal-$pkgver
 
 build() {
 	cd "$builddir"
@@ -34,6 +30,6 @@ package() {
 	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/20_$_pkgreal.ini
 }
 
-md5sums="b9715c6b71e1461e06f42d52aa9d3672  phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
-sha256sums="b1dd5138030ee7dfb71e15b6a08f7fae7f757c1b04797eeb409a142c6a2cc400  phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
-sha512sums="9ab5efbf2cd87a2ce7fca7088001951bd07ab85ceafff4953af4994086f5934eb36b19763045bb85d479432cd0803254202072faaf11fbdccec82a7c4a8d2c18  phpredis-64479400a0b3c7b8b006e5de905836e4d764a763.tar.gz"
+md5sums="90dbb6388c886356adea361df3c5c413  redis-3.1.2.tgz"
+sha256sums="a7687d007e48bef92049b8f53b425244d663da57d6b646d139248839e01f4ea3  redis-3.1.2.tgz"
+sha512sums="14b6321072f8ab41b8293b40ea8e1e2bdac1bb694c4566467ea4e6ced37c8fc41bf5712bd27cebf509f25fda0492765cd2c8d2fe61395bcb0b0d9cbbceebe684  redis-3.1.2.tgz"
-- 
2.11.0 (Apple Git-81)

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