diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2018-10-22 21:41:47 +0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-10-23 17:03:56 +0300 |
commit | c1848585dd464c3b332802e6025c85b0335268dd (patch) | |
tree | 0756433741b0486dc3596c54cb2f50f34ccadf3a /testing/php7-ast | |
parent | 6e9f68750d3180d7a4f72146240b2b082d9d58bf (diff) | |
download | aports-c1848585dd464c3b332802e6025c85b0335268dd.tar.bz2 aports-c1848585dd464c3b332802e6025c85b0335268dd.tar.xz |
testing/php7-ast: upgrade to 1.0.0 and modernize
Diffstat (limited to 'testing/php7-ast')
-rw-r--r-- | testing/php7-ast/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/testing/php7-ast/APKBUILD b/testing/php7-ast/APKBUILD index a3d001441a..8c235e1159 100644 --- a/testing/php7-ast/APKBUILD +++ b/testing/php7-ast/APKBUILD @@ -3,17 +3,16 @@ pkgname=php7-ast _pkgext=ast _pkgreal=php-ast -pkgver=0.1.7 -_pkgver=${pkgver/_rc/RC} +pkgver=1.0.0 pkgrel=0 -pkgdesc="PHP7 extension exposing PHP 7 abstract syntax tree" -url="https://github.com/nikic/php-ast" +pkgdesc="PHP extension exposing PHP 7 abstract syntax tree - PECL" +url="https://pecl.php.net/package/ast" arch="all" -license="BSD" -depends="php7" -makedepends="php7-dev autoconf" -source="$pkgname-$pkgver.tar.gz::https://github.com/nikic/php-ast/archive/v$_pkgver.tar.gz" -builddir="$srcdir"/$_pkgreal-$_pkgver +license="BSD-3-Clause" +depends="php7-common" +makedepends="php7-dev autoconf re2c" +source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgext-$pkgver.tgz" +builddir="$srcdir"/$_pkgext-$pkgver build() { cd "$builddir" @@ -35,4 +34,4 @@ package() { echo "extension=$_pkgext.so" > "$pkgdir"/etc/php7/conf.d/$_pkgext.ini } -sha512sums="b246b42be2bc01ad65cbe616b0133629fdb94329334ebce55bd8d59b91291c062f4c97f5a8e69e06c3b7ca98f5995ee4edf10f052e9ceb22fdb336bd452067f2 php7-ast-0.1.7.tar.gz" +sha512sums="22469190dff801ab39b5948cb071cfb03c43ba924fad49f3f2f0a1596ff6952cb0b8560f9815d86cc3a058b07fb3f49c92f7068a814de67c2fe6b934be42cdf4 php7-ast-1.0.0.tar.gz" |