aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-09-18 15:54:56 +0300
committerAndy Postnikov <apostnikov@gmail.com>2020-09-18 15:59:03 +0300
commit01ca6bacced03c1bf5c985d8edd6e09c38b34aef (patch)
tree7fc1f3fffd0470b80b6406fc9142d5a76ad7c1ba
parent8fc74eece585367fb567878f17572d242661e1e3 (diff)
downloadaports-01ca6bacced03c1bf5c985d8edd6e09c38b34aef.tar.gz
aports-01ca6bacced03c1bf5c985d8edd6e09c38b34aef.tar.bz2
aports-01ca6bacced03c1bf5c985d8edd6e09c38b34aef.tar.xz
community/php7-pecl-oauth: upgrade to 2.0.7
-rw-r--r--community/php7-pecl-oauth/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/php7-pecl-oauth/APKBUILD b/community/php7-pecl-oauth/APKBUILD
index 2588622deb..ef02b25243 100644
--- a/community/php7-pecl-oauth/APKBUILD
+++ b/community/php7-pecl-oauth/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-pecl-oauth
_pkgreal=oauth
-pkgver=2.0.6
+pkgver=2.0.7
pkgrel=0
pkgdesc="OAuth is an authorization protocol built on top of HTTP."
url="https://pecl.php.net/package/oauth"
@@ -24,20 +24,21 @@ build() {
}
check() {
- local modules="/usr/lib/php7/modules"
+ local _modules="/usr/lib/php7/modules"
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test \
PHP_TEST_SHARED_EXTENSIONS=" \
- -d extension=$modules/openssl.so \
- -d extension=$modules/pcntl.so \
- -d extension=$modules/posix.so \
+ -d extension=$_modules/openssl.so \
+ -d extension=$_modules/pcntl.so \
+ -d extension=$_modules/posix.so \
-d extension=modules/$_pkgreal.so"
}
package() {
make INSTALL_ROOT="$pkgdir"/ install
- install -d "$pkgdir"/etc/php7/conf.d
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/60_$_pkgreal.ini
+ local _confdir="$pkgdir"/etc/php7/conf.d
+ install -d $_confdir
+ echo "extension=$_pkgreal.so" > $_confdir/60_$_pkgreal.ini
}
-sha512sums="aa958988eff92d3db3774ac534bc969ecf8e2a1aa18e4854308598513d267eca83f1a4d1f29e0c9fc8ee7c478cdcc78b93366a26f9cdbe20643640188c7755a6 oauth-2.0.6.tgz
+sha512sums="261bbe6d1c4299f44ce40030b3959e26f2535c70d01b7a4e870d14c84b0a01e68484e61907554d720667fa08a2ec00b7d43cf2f523800c832f02b093e7b6534a oauth-2.0.7.tgz
68d636032d2f3cb2822ea3121a80256b87a04cc5998c4775174366c6a3392dfe3abc00c84cc50aca5745a32ddd2246af129fe5aa17cc415652c52214a84feef9 pcre.patch"