diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/php7/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD index fed7169629..416b69e853 100644 --- a/community/php7/APKBUILD +++ b/community/php7/APKBUILD @@ -3,7 +3,7 @@ pkgname=php7 _pkgreal=php pkgver=7.0.17 -pkgrel=0 +pkgrel=1 pkgdesc="The PHP language runtime engine - 7th branch" url="http://www.php.net/" arch="all" @@ -192,15 +192,20 @@ package() { dev() { default_dev + replaces="php-dev" depends="$depends $pkgname $pkgname-pear" mkdir -p "$subpkgdir"/usr/bin \ - "$subpkgdir"/usr/lib/$pkgname + "$subpkgdir"/usr/lib/$pkgname || return 1 - mv "$pkgdir"/usr/bin/php-config7 "$pkgdir"/usr/bin/peardev \ + mv "$pkgdir"/usr/bin/php-config7 \ + "$pkgdir"/usr/bin/phpize7 \ + "$pkgdir"/usr/bin/peardev \ "$subpkgdir"/usr/bin/ || return 1 mv "$pkgdir"/usr/lib/$pkgname/build \ - "$subpkgdir"/usr/lib/$pkgname/ + "$subpkgdir"/usr/lib/$pkgname || return 1 + ln -sf /usr/bin/phpize7 "$subpkgdir"/usr/bin/phpize + ln -sf /usr/bin/php-config7 "$subpkgdir"/usr/bin/php-config } doc() { @@ -288,7 +293,7 @@ pear() { mkdir -p "$subpkgdir"/usr/bin \ "$subpkgdir"/etc/$pkgname - local file; for file in phpize7 pecl pear; do + local file; for file in pecl pear; do mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ done mv "$pkgdir"/etc/$pkgname/pear.conf "$subpkgdir"/etc/$pkgname/ || return 1 |