testing/php7-mustache: modernize

This commit is contained in:
TBK 2018-03-21 16:27:38 +01:00 committed by Andy Postnikov
parent 67ba7ae45b
commit b0d5ea10d8

View File

@ -1,21 +1,20 @@
# Maintainer: Renoir Boulanger <hello@renoirboulanger.com>
pkgname=php7-mustache
_phpext=mustache
pkgname="php7-mustache"
_phpext="mustache"
pkgver=0.7.4
pkgrel=0
pkgrel=1
pkgdesc="PHP 7 PECL extension: C++ implementation of Mustache"
giturl="https://github.com/jbboehr/php-mustache.git"
url="https://github.com/jbboehr/php-mustache"
arch=all
license=MIT
depends=libmustache
arch="all"
license="MIT"
depends="libmustache"
makedepends="php7-dev autoconf"
# Look at commit ref for spec/ folder at https://github.com/jbboehr/mustache-spec
_mustachespec_gitrev=72233f3ffda9e33915fd3022d0a9ebbcce265acd
_pkg_filename=php-mustache-$pkgver
source="php-mustache-$pkgver.tar.gz::https://github.com/jbboehr/php-mustache/archive/v$pkgver.tar.gz
mustache-spec-$_mustachespec_gitrev.tar.gz::https://github.com/jbboehr/mustache-spec/archive/$_mustachespec_gitrev.tar.gz"
mustache-spec-$_mustachespec_gitrev.tar.gz::https://github.com/jbboehr/mustache-spec/archive/$_mustachespec_gitrev.tar.gz"
builddir="$srcdir/$_pkg_filename/"
prepare() {
@ -39,7 +38,7 @@ build() {
check() {
cd "$builddir"
make test < /dev/null
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {