diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 12:31:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:43:07 +0000 |
commit | 3c9321728f5a2f5fb3fea4c448871413ee1a1600 (patch) | |
tree | 7f940b6e74c45fe64c1835195bebf991a6698ebb /community | |
parent | ededfd778202738bfc326b17bee3e3810d65a072 (diff) | |
download | aports-3c9321728f5a2f5fb3fea4c448871413ee1a1600.tar.bz2 aports-3c9321728f5a2f5fb3fea4c448871413ee1a1600.tar.xz |
community/php5-imagick: rename php to php5
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 } |