diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2019-12-19 17:50:51 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-12-19 19:47:52 +0200 |
commit | 9ee61d45b5926bfe1df6514e0e05942f85a4131c (patch) | |
tree | 497aedc6eb8fcd9041254c1cab97f3579b8aaeb3 /community/php7-pecl-mailparse | |
parent | 89bf7fcf675ffb9138a3afe613cb1f7c918b57ac (diff) | |
download | aports-9ee61d45b5926bfe1df6514e0e05942f85a4131c.tar.bz2 aports-9ee61d45b5926bfe1df6514e0e05942f85a4131c.tar.xz |
community/php7-pecl-mailparse: upgrade to 3.0.4 and modernize
Diffstat (limited to 'community/php7-pecl-mailparse')
-rw-r--r-- | community/php7-pecl-mailparse/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/community/php7-pecl-mailparse/APKBUILD b/community/php7-pecl-mailparse/APKBUILD index 2f1dd59808..2f7206ed09 100644 --- a/community/php7-pecl-mailparse/APKBUILD +++ b/community/php7-pecl-mailparse/APKBUILD @@ -2,12 +2,12 @@ # Maintainer: Fabio Ribeiro <fabiorphp@gmail.com> pkgname=php7-pecl-mailparse _pkgreal=mailparse -pkgver=3.0.3 -pkgrel=1 +pkgver=3.0.4 +pkgrel=0 pkgdesc="PHP extension for parsing and working with email messages - PECL" url="https://pecl.php.net/package/mailparse" arch="all" -license="PHP" +license="PHP-3.01" depends="php7-common php7-mbstring" makedepends="php7-dev autoconf re2c" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" @@ -16,15 +16,12 @@ provides="php7-mailparse=$pkgver-r$pkgrel" # for backward compatibility replaces="php7-mailparse" # for backward compatibility build() { - cd "$builddir" - phpize7 ./configure --prefix=/usr --with-php-config=php-config7 make } check() { - cd "$builddir" # Tests require mbstring extension which is not bundled sed -i 's#PHP_TEST_SHARED_EXTENSIONS = `#PHP_TEST_SHARED_EXTENSIONS = -d extension=/usr/lib/php7/modules/mbstring.so `#' Makefile make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test @@ -32,7 +29,6 @@ check() { package() { local confdir="$pkgdir/etc/php7/conf.d" - cd "$builddir" make INSTALL_ROOT="$pkgdir" install @@ -40,4 +36,4 @@ package() { echo "extension=$_pkgreal.so" > "$confdir"/60_$_pkgreal.ini } -sha512sums="8bc99cb1a3331ee5d40076abe20a15870deb6e28e2b0adb6227a36a01999648a9341168e05f1db96d2458394a13cad643ee1c5dce4d15669165d01c29d95417b php7-pecl-mailparse-3.0.3.tgz" +sha512sums="71eaebc1dc8a4698e60e170facaba16a5a9314bcb21c375b2f9a3069d7f1da819bfabc736b244e3f87131149d4efd9363120e77d8a078a0ede15113123d13ce3 php7-pecl-mailparse-3.0.4.tgz" |