Commit 7cba213b authored by Andy Postnikov's avatar Andy Postnikov
Browse files

community/php7-pecl-gmagick: modernize

parent 631a3d5d
......@@ -4,7 +4,7 @@ pkgname=php7-pecl-gmagick
_pkgreal=gmagick
pkgver=2.0.6_rc1
_pkgver=${pkgver/_rc/RC}
pkgrel=0
pkgrel=1
pkgdesc="PHP 7 bindings to the GraphicsMagick library - PECL"
url="https://pecl.php.net/package/gmagick"
arch="all"
......@@ -33,13 +33,14 @@ check() {
fi
# https://github.com/vitoc/gmagick/issues/53
rm -f tests/gmagick-056-set_getsamplingfactors.phpt
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
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
local _confdir="$pkgdir"/etc/php7/conf.d
install -d $_confdir
echo "extension=$_pkgreal" > $_confdir/$_pkgreal.ini
}
sha512sums="c09ad751815d06964f16ab95025badc0711ceaaac0cf79035307aa75f2730b021b070d0e45e549ddd5447de68581ec666a817ec5c05a2a4557d4c1548216714f php-pecl-gmagick-2.0.6RC1.tgz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment