diff options
-rw-r--r-- | community/php7-pecl-imagick/APKBUILD (renamed from community/php7-imagick/APKBUILD) | 24 | ||||
-rw-r--r-- | community/php7-pecl-imagick/fix-affineTransformImage-test.patch (renamed from community/php7-imagick/fix-affineTransformImage-test.patch) | 0 |
2 files changed, 12 insertions, 12 deletions
diff --git a/community/php7-imagick/APKBUILD b/community/php7-pecl-imagick/APKBUILD index 9df0bf1e50..0197d72aeb 100644 --- a/community/php7-imagick/APKBUILD +++ b/community/php7-pecl-imagick/APKBUILD @@ -1,29 +1,29 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com> -pkgname=php7-imagick +pkgname=php7-pecl-imagick _pkgreal=imagick pkgver=3.4.3 -pkgrel=8 -_phpver=${pkgname#php} -_phpver=${_phpver%%-*} -pkgdesc="PHP$_phpver extension: Provides a wrapper to the ImageMagick library" -url="http://pecl.php.net/package/imagick" +pkgrel=9 +pkgdesc="PHP extension provides a wrapper to the ImageMagick library - PECL" +url="https://pecl.php.net/package/imagick" arch="all" -license="PHP" -depends="php$_phpver-common imagemagick" +license="PHP-3.01" +depends="php7-common imagemagick" checkdepends="ghostscript-fonts" -makedepends="php$_phpver-dev autoconf libtool imagemagick-dev pcre-dev" +makedepends="php7-dev autoconf libtool imagemagick-dev pcre-dev re2c" subpackages="$pkgname-dev" source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz fix-affineTransformImage-test.patch " builddir="$srcdir/$_pkgreal-$pkgver" +provides="php7-imagick=$pkgver-r$pkgrel" # for backward compatibility +replaces="php7-imagick" # for backward compatibility build() { cd "$builddir" - phpize$_phpver - ./configure --prefix=/usr --with-php-config=php-config$_phpver + phpize7 + ./configure --prefix=/usr --with-php-config=php-config7 make } @@ -38,7 +38,7 @@ check() { } package() { - local confdir="$pkgdir/etc/php$_phpver/conf.d" + local confdir="$pkgdir/etc/php7/conf.d" cd "$builddir" make INSTALL_ROOT="$pkgdir" install diff --git a/community/php7-imagick/fix-affineTransformImage-test.patch b/community/php7-pecl-imagick/fix-affineTransformImage-test.patch index 00570a9e62..00570a9e62 100644 --- a/community/php7-imagick/fix-affineTransformImage-test.patch +++ b/community/php7-pecl-imagick/fix-affineTransformImage-test.patch |