aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-11-13 23:48:39 +0200
committerAndy Postnikov <apostnikov@gmail.com>2020-11-13 23:48:39 +0200
commitfe6e95ec67d0a9c97333b3f8ccee59a36e6bf1e4 (patch)
treec058bf3b6b040541717a424ffa62e2583efdafa8
parentb794c31a635e2e264500fd9a774f549d8fbcb5a8 (diff)
downloadaports-fe6e95ec67d0a9c97333b3f8ccee59a36e6bf1e4.tar.gz
aports-fe6e95ec67d0a9c97333b3f8ccee59a36e6bf1e4.tar.bz2
aports-fe6e95ec67d0a9c97333b3f8ccee59a36e6bf1e4.tar.xz
community/php7-pecl-psr: upgrade to 1.0.1 and modernize
-rw-r--r--community/php7-pecl-psr/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/php7-pecl-psr/APKBUILD b/community/php7-pecl-psr/APKBUILD
index 9010992b8d..6dd9e84e42 100644
--- a/community/php7-pecl-psr/APKBUILD
+++ b/community/php7-pecl-psr/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php7-pecl-psr
-_pkgreal=psr
-pkgver=1.0.0
-pkgrel=1
+_extname=psr
+pkgver=1.0.1
+pkgrel=0
pkgdesc="PECL extension provides the accepted PSR interfaces, so they can be used in an extension."
url="https://pecl.php.net/package/psr"
arch="all"
license="BSD-2-Clause"
depends="php7-common"
-makedepends="php7-dev autoconf re2c"
-source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+makedepends="php7-dev"
+source="https://pecl.php.net/get/$_extname-$pkgver.tgz"
+builddir="$srcdir/$_extname-$pkgver"
provides="php7-psr=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-psr" # for backward compatibility
@@ -26,8 +26,9 @@ check() {
package() {
make INSTALL_ROOT="$pkgdir"/ install
- install -d "$pkgdir"/etc/php7/conf.d
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
+ local _confdir="$pkgdir"/etc/php7/conf.d
+ install -d $_confdir
+ echo "extension=$_extname.so" > $_confdir/$_extname.ini
}
-sha512sums="762278e922c03102dddb39b7997c70803c2105bffa231db20da8c246e10788803765068bbd859f2b7cad1e4fb64e91d191be55917dc14af49c8cd1211d007649 psr-1.0.0.tgz"
+sha512sums="27ea717f4a8b9d69998ad28dccf7adfcbda0092b88b3087cf282a450e9324c67aa36678956e8b9bfa56360c03a5341a47f849a030e6f698015d4fc5d1fb59519 psr-1.0.1.tgz"