aboutsummaryrefslogtreecommitdiffstats
path: root/community/php8-pecl-xhprof/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/php8-pecl-xhprof/APKBUILD')
-rw-r--r--community/php8-pecl-xhprof/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/php8-pecl-xhprof/APKBUILD b/community/php8-pecl-xhprof/APKBUILD
index 444492bc0f..c8d2ac9be1 100644
--- a/community/php8-pecl-xhprof/APKBUILD
+++ b/community/php8-pecl-xhprof/APKBUILD
@@ -3,17 +3,17 @@
pkgname=php8-pecl-xhprof
_extname=xhprof
-pkgver=2.2.3
+pkgver=2.3.2
pkgrel=0
pkgdesc="A Hierarchical Profiler for PHP 8 - PECL"
url="https://pecl.php.net/package/xhprof"
arch="all"
license="Apache-2.0"
-depends="php8-ctype"
+depends="php8-common"
makedepends="php8-dev"
-_assetsdepends="graphviz ghostscript-fonts"
+_assetsdepends="php8-ctype graphviz ghostscript-fonts"
subpackages="$pkgname-assets::noarch"
-source="php-pecl-$_extname-$pkgver.tar.gz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
+source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir/$_extname-$pkgver/extension"
provides="php8-xhprof=$pkgver-r$pkgrel" # for backward compatibility
replaces="php8-xhprof" # for backward compatibility
@@ -36,21 +36,21 @@ package() {
extension=$_extname
xhprof.output_dir=/tmp
EOF
- local _assetsdir="$pkgdir"/usr/share/php8/xhprof
- install -d $_assetsdir
- cp -R "$builddir"/../xhprof_lib $_assetsdir
}
assets() {
pkgdesc="A Hierarchical Profiler for PHP (UI assets)"
- depends="$pkgname $_assetsdepends"
+ depends="$_assetsdepends"
provides="php8-xhprof-assets=$pkgver-r$pkgrel" # for backward compatibility
replaces="php8-xhprof-assets" # for backward compatibility
local _assetsdir="$subpkgdir"/usr/share/php8/xhprof
install -d $_assetsdir
+ cp -R "$builddir"/../xhprof_lib $_assetsdir
cp -R "$builddir"/../xhprof_html $_assetsdir
cp -R "$builddir"/../examples $_assetsdir
}
-sha512sums="000468a7fa2a0af25004f0ffd59a8ab111a5cfa4cff275291fcbc54d3283fbf4a904b4aaeb38c2a8c7c81924bc31d9328ccf9fb7de24e20c224e014ed942efaf php-pecl-xhprof-2.2.3.tar.gz"
+sha512sums="
+43aa64c1522832b29dff421e8f3dede051153c324fcf7ca78732b187e2e47ba58dfa553914dbdc47aeac9c13ef687f504611cef80451599b38c9edaec10a77d1 php-pecl-xhprof-2.3.2.tgz
+"