aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-12-02 19:30:25 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-12-02 19:47:14 +0200
commit7178f8f1c3fb2ca72b40abe443a0f426d57da3b6 (patch)
treeac947f1a57b99de333d4e0fe8e6001725b6c2829
parent2e9ac7d0de9ae568276d60abbfe41b7611cd410c (diff)
downloadaports-7178f8f1c3fb2ca72b40abe443a0f426d57da3b6.tar.bz2
aports-7178f8f1c3fb2ca72b40abe443a0f426d57da3b6.tar.xz
community/php7-pecl-oauth: upgrade to 2.0.4 and fix license
-rw-r--r--community/php7-pecl-oauth/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/community/php7-pecl-oauth/APKBUILD b/community/php7-pecl-oauth/APKBUILD
index e4a958a756..d7003e262e 100644
--- a/community/php7-pecl-oauth/APKBUILD
+++ b/community/php7-pecl-oauth/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-pecl-oauth
_pkgreal=oauth
-pkgver=2.0.3
-pkgrel=2
+pkgver=2.0.4
+pkgrel=0
pkgdesc="OAuth is an authorization protocol built on top of HTTP."
url="https://pecl.php.net/package/oauth"
arch="all"
-license="PHP"
+license="BSD-3-Clause"
depends="php7-common"
makedepends="php7-dev autoconf re2c pcre2-dev curl-dev"
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
@@ -17,23 +17,20 @@ provides="php7-oauth=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-oauth" # for backward compatibility
build() {
- cd "$builddir"
phpize7
./configure --prefix=/usr --with-php-config=php-config7
make
}
check() {
- cd "$builddir"
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
- cd "$builddir"
make INSTALL_ROOT="$pkgdir"/ install
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/60_$_pkgreal.ini
}
-sha512sums="3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9 oauth-2.0.3.tgz
+sha512sums="269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4 oauth-2.0.4.tgz
68d636032d2f3cb2822ea3121a80256b87a04cc5998c4775174366c6a3392dfe3abc00c84cc50aca5745a32ddd2246af129fe5aa17cc415652c52214a84feef9 pcre.patch"