aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-11-29 01:16:03 +0200
committerAndy Postnikov <apostnikov@gmail.com>2020-11-29 01:16:03 +0200
commit6ed78f1f07891146d3cd693305bef1639844fb57 (patch)
tree2647011c614a1339ea4fe356d984332ab4b23f25
parentaec5694f5621c212fd918a823a830c5b677eb1d7 (diff)
downloadaports-6ed78f1f07891146d3cd693305bef1639844fb57.tar.gz
aports-6ed78f1f07891146d3cd693305bef1639844fb57.tar.bz2
aports-6ed78f1f07891146d3cd693305bef1639844fb57.tar.xz
community/php7-pecl-yaml: upgrade to 2.2.0 and modernize
-rw-r--r--community/php7-pecl-yaml/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/php7-pecl-yaml/APKBUILD b/community/php7-pecl-yaml/APKBUILD
index 472c0f3aaa..cc16390535 100644
--- a/community/php7-pecl-yaml/APKBUILD
+++ b/community/php7-pecl-yaml/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Renoir Boulanger <hello@renoirboulanger.com>
pkgname=php7-pecl-yaml
-_pkgreal=yaml
-pkgver=2.2.0b2
+_extname=yaml
+pkgver=2.2.0
pkgrel=0
-pkgdesc="YAML syntax bindings for PHP"
+pkgdesc="YAML syntax bindings for PHP 7 - PECL"
url="https://pecl.php.net/package/yaml"
arch="all"
license="MIT"
depends="php7-common"
makedepends="php7-dev yaml-dev"
-source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir/$_pkgreal-$pkgver"
+source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
+builddir="$srcdir/$_extname-$pkgver"
provides="php7-yaml=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-yaml" # for backward compatibility
@@ -24,14 +24,14 @@ build() {
# Thanks to @TBK for https://github.com/php/pecl-file_formats-yaml/pull/29
check() {
- make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
+ make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test TESTS=--show-diff
}
package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php7/conf.d
install -d $_confdir
- echo "extension=$_pkgreal.so" > $_confdir/70_$_pkgreal.ini
+ echo "extension=$_extname" > $_confdir/70_$_extname.ini
}
-sha512sums="d91657713a5995ad1a3b3a159ccc5b78c33c8934bf14be00e6f8ab4f2fd3aad795879b43fe525a5b64d010e0620c73a3b847639a2ee15c7ad11f0a08203a656f php7-pecl-yaml-2.2.0b2.tgz"
+sha512sums="3af6a0f2bcbab7d0ea21b81c2914a8c65393156b5a974448645ca079edbd616b5f46564e5f55a83d556f8e3fc38573a869f79c9eb3c2449e1c3d410ae32a6fb5 php-pecl-yaml-2.2.0.tgz"