aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-10-07 15:49:43 +0300
committerAndy Postnikov <apostnikov@gmail.com>2020-10-07 13:45:11 +0000
commita41defd375fd48e386275aec5c933c80f1a1870a (patch)
treeda83f4ac3b6919ce7d0885a9e3743e4d5c066de3
parentac496f104f8c79323cff60237706647ac5597bc8 (diff)
downloadaports-a41defd375fd48e386275aec5c933c80f1a1870a.tar.gz
aports-a41defd375fd48e386275aec5c933c80f1a1870a.tar.bz2
aports-a41defd375fd48e386275aec5c933c80f1a1870a.tar.xz
community/php7-pecl-redis: upgrade to 5.3.2_rc1
-rw-r--r--community/php7-pecl-redis/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/php7-pecl-redis/APKBUILD b/community/php7-pecl-redis/APKBUILD
index 42b84fb34f..ee05fbf910 100644
--- a/community/php7-pecl-redis/APKBUILD
+++ b/community/php7-pecl-redis/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-pecl-redis
-_pkgreal=redis
-pkgver=5.3.1
+_extname=redis
+pkgver=5.3.2_rc1
+_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgdesc="PHP extension for interfacing with Redis - PECL"
url="https://pecl.php.net/package/redis"
@@ -10,8 +11,8 @@ arch="all"
license="PHP-3.01"
depends="php7-common php7-pecl-igbinary php7-session php7-json"
makedepends="php7-dev lz4-dev zstd-dev"
-source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$_pkgver.tgz"
+builddir="$srcdir/$_extname-$_pkgver"
provides="php7-redis=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-redis" # for backward compatibility
@@ -27,15 +28,15 @@ build() {
check() {
# Need running redis server
- php7 -d extension="$builddir"/modules/$_pkgreal.so --ri $_pkgreal
+ php7 -d extension=modules/$_extname.so --ri $_extname
}
package() {
make INSTALL_ROOT="$pkgdir" install
- local confdir="$pkgdir/etc/php7/conf.d"
- mkdir -p "$confdir"
- echo "extension=$_pkgreal.so" > "$confdir"/20_$_pkgreal.ini
+ local confdir="$pkgdir"/etc/php7/conf.d
+ mkdir -p $confdir
+ echo "extension=$_extname.so" > $confdir/20_$_extname.ini
}
-sha512sums="dca62e0e87d22c25818f0eb84ec0a4ae8ab4c1a2de295b7d56d10548c95448637e1b1ca86c55adf0f801fe22bf3c05fad4ff58f3823e5d74c506d041b64f1d4a php7-pecl-redis-5.3.1.tgz"
+sha512sums="472908d709ff97add303dc9946da38124b27068295924a23e2a4c9c67bb6161e6aee8f7818ca564c1eb44c0cdda7a8bf3c6e04ed2e900728096c57d1bea9446a php7-pecl-redis-5.3.2_rc1.tgz"