27 lines
655 B
Bash
27 lines
655 B
Bash
pkgname=php-imagick
|
|
version=3.4.3
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="php-devel autoconf pkg-config"
|
|
makedepends="php-devel pcre-devel libmagick-devel"
|
|
depends="php"
|
|
short_desc="Provides a PHP wrapper to the ImageMagick library"
|
|
maintainer="Alin Dobre <alin.dobre@outlook.com>"
|
|
license="PHP"
|
|
homepage="https://pecl.php.net/package/imagick"
|
|
distfiles="https://pecl.php.net/get/imagick-$version.tgz"
|
|
checksum=1f3c5b5eeaa02800ad22f506cd100e8889a66b2ec937e192eaaa30d74562567c
|
|
wrksrc="imagick-$version"
|
|
|
|
pre_configure() {
|
|
phpize
|
|
}
|
|
|
|
pre_install() {
|
|
make_install_args="INSTALL_ROOT=$DESTDIR"
|
|
}
|
|
|
|
post_install() {
|
|
rm -r $DESTDIR/usr/include
|
|
}
|