aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-12-10 18:47:23 +0200
committerAndy Postnikov <apostnikov@gmail.com>2019-12-11 14:37:20 +0200
commitbe27a8efb91be98b6885c63556df7eb3f81e4c26 (patch)
tree766e5d00f9fbf03dd68d9059803f861b7b28d391 /testing
parentd4f084d91cdd070d37e66828e4cdd2926fd599df (diff)
downloadaports-be27a8efb91be98b6885c63556df7eb3f81e4c26.tar.bz2
aports-be27a8efb91be98b6885c63556df7eb3f81e4c26.tar.xz
testing/php7-pecl-xhprof: renamed from php7-xhprof
Diffstat (limited to 'testing')
-rw-r--r--testing/php7-pecl-xhprof/APKBUILD (renamed from testing/php7-xhprof/APKBUILD)10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/php7-xhprof/APKBUILD b/testing/php7-pecl-xhprof/APKBUILD
index 0167c5a016..c1a895bbfb 100644
--- a/testing/php7-xhprof/APKBUILD
+++ b/testing/php7-pecl-xhprof/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Andy Postnikov <apostnikov@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
-pkgname=php7-xhprof
+pkgname=php7-pecl-xhprof
_pkgreal=xhprof
pkgver=2.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="A Hierarchical Profiler for PHP"
url="https://pecl.php.net/package/xhprof"
arch="all"
@@ -14,6 +14,8 @@ makedepends="php7-dev re2c"
subpackages="$pkgname-assets::noarch"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
+provides="php7-xhprof=$pkgver-r$pkgrel" # for backward compatibility
+replaces="php7-xhprof" # for backward compatibility
build() {
cd "$builddir"/extension
@@ -44,6 +46,8 @@ package() {
assets() {
pkgdesc="A Hierarchical Profiler for PHP (UI assets)"
depends="$pkgname graphviz ghostscript-fonts"
+ provides="php7-xhprof-assets=$pkgver-r$pkgrel" # for backward compatibility
+ replaces="php7-xhprof-assets" # for backward compatibility
local installdir="$subpkgdir"/usr/share/php7/xhprof
install -d "$installdir"
@@ -51,4 +55,4 @@ assets() {
cp -R "$builddir"/examples "$installdir"
}
-sha512sums="c9a74fe48882afb10b352430bd1849ac35bb1fe9fd7d5918c57628c48a88e0919906fdd36b531ef0d5e6cd5424d6b4b8c1742c134e2ef71bb09ac5477bc17813 php7-xhprof-2.1.3.tar.gz"
+sha512sums="c9a74fe48882afb10b352430bd1849ac35bb1fe9fd7d5918c57628c48a88e0919906fdd36b531ef0d5e6cd5424d6b4b8c1742c134e2ef71bb09ac5477bc17813 php7-pecl-xhprof-2.1.3.tar.gz"