Commit be27a8ef authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/php7-pecl-xhprof: renamed from php7-xhprof

parent d4f084d9
# Contributor: Andy Postnikov <apostnikov@gmail.com> # Contributor: Andy Postnikov <apostnikov@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com> # Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php7-xhprof pkgname=php7-pecl-xhprof
_pkgreal=xhprof _pkgreal=xhprof
pkgver=2.1.3 pkgver=2.1.3
pkgrel=0 pkgrel=1
pkgdesc="A Hierarchical Profiler for PHP" pkgdesc="A Hierarchical Profiler for PHP"
url="https://pecl.php.net/package/xhprof" url="https://pecl.php.net/package/xhprof"
arch="all" arch="all"
...@@ -14,6 +14,8 @@ makedepends="php7-dev re2c" ...@@ -14,6 +14,8 @@ makedepends="php7-dev re2c"
subpackages="$pkgname-assets::noarch" subpackages="$pkgname-assets::noarch"
source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" source="$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
provides="php7-xhprof=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-xhprof" # for backward compatibility
build() { build() {
cd "$builddir"/extension cd "$builddir"/extension
...@@ -44,6 +46,8 @@ package() { ...@@ -44,6 +46,8 @@ package() {
assets() { assets() {
pkgdesc="A Hierarchical Profiler for PHP (UI assets)" pkgdesc="A Hierarchical Profiler for PHP (UI assets)"
depends="$pkgname graphviz ghostscript-fonts" 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 local installdir="$subpkgdir"/usr/share/php7/xhprof
install -d "$installdir" install -d "$installdir"
...@@ -51,4 +55,4 @@ assets() { ...@@ -51,4 +55,4 @@ assets() {
cp -R "$builddir"/examples "$installdir" cp -R "$builddir"/examples "$installdir"
} }
sha512sums="c9a74fe48882afb10b352430bd1849ac35bb1fe9fd7d5918c57628c48a88e0919906fdd36b531ef0d5e6cd5424d6b4b8c1742c134e2ef71bb09ac5477bc17813 php7-xhprof-2.1.3.tar.gz" sha512sums="c9a74fe48882afb10b352430bd1849ac35bb1fe9fd7d5918c57628c48a88e0919906fdd36b531ef0d5e6cd5424d6b4b8c1742c134e2ef71bb09ac5477bc17813 php7-pecl-xhprof-2.1.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment