# Template file for 'php8.5-imagick' pkgname=php8.5-imagick version=3.8.1 revision=1 build_style=gnu-configure configure_args="--with-imagick=${XBPS_CROSS_BASE}/usr \ --with-php-config=/usr/bin/php-config8.5" hostmakedepends="php8.5-devel autoconf pkg-config" makedepends="php8.5-devel pcre2-devel libmagick-devel" depends="php8.5" short_desc="Provides a PHP wrapper to the ImageMagick library" maintainer="Joel Beckmeyer " license="PHP-3.01" homepage="https://pecl.php.net/package/imagick" distfiles="https://pecl.php.net/get/imagick-$version.tgz" checksum=3a3587c0a524c17d0dad9673a160b90cd776e836838474e173b549ed864352ee pre_configure() { phpize8.5 } pre_install() { make_install_args="INSTALL_ROOT=$DESTDIR" } post_install() { rm -r $DESTDIR/usr/include vdoc "${FILESDIR}/README.voidlinux" }