diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/php5-imagick/APKBUILD (renamed from community/php-imagick/APKBUILD) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/community/php-imagick/APKBUILD b/community/php5-imagick/APKBUILD index 0305d52bbb..cf0f71cb86 100644 --- a/community/php-imagick/APKBUILD +++ b/community/php5-imagick/APKBUILD @@ -1,6 +1,7 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com> -pkgname=php-imagick +_php=php5 +pkgname=${_php}-imagick _pkgreal=imagick pkgver=3.4.1 pkgrel=0 @@ -9,7 +10,7 @@ url="http://pecl.php.net/package/imagick" arch="all" license="PHP" depends= -pecldepends="php-dev autoconf" +pecldepends="${_php}-dev autoconf" makedepends="$pecldepends imagemagick-dev libtool" install="" subpackages="" @@ -30,8 +31,8 @@ build() { package() { cd "$_builddir" make INSTALL_ROOT="$pkgdir/" install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini + install -d "$pkgdir"/etc/$_php/conf.d || return 1 + echo "extension=$_pkgreal.so" > "$pkgdir"/etc/$_php/conf.d/$_pkgreal.ini [ -d "$pkgdir"/usr/include ] && rm -fr "$pkgdir"/usr/include } |