community/php7-yaml: rebuild against php 7.2.4

This commit is contained in:
TBK 2018-03-21 06:14:43 +01:00 committed by Andy Postnikov
parent 06a1f02962
commit f136e290a8

View File

@ -2,18 +2,17 @@
pkgname=php7-yaml
_pkgreal=yaml
pkgver=2.0.2
pkgrel=0
pkgrel=1
pkgdesc="YAML syntax bindings for PHP"
url="http://bd808.com/pecl-file_formats-yaml/"
arch="all"
license="MIT"
makedepends="php7-dev autoconf yaml-dev"
depends="php7-common"
builddir="$srcdir"/$_pkgreal-$pkgver/
# Set source file explicitly, otherwise extracted archive directory breaks the build.
source="$pkgname-$pkgver.tgz::http://pecl.php.net/get/$_pkgreal-$pkgver.tgz
10-detect.patch"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
@ -28,7 +27,7 @@ build() {
# added here as 10-detect.patch
check() {
cd "$builddir"
NO_INTERACTION=1 REPORT_EXIT_STATUS=1 make test
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {