* update gperftools to 2.9.1-1

This commit is contained in:
Alexander Baldeck 2021-03-12 16:28:52 +01:00
parent bcbd7fc22d
commit 02ff3d926f

View File

@ -7,7 +7,7 @@
# Contributor: Jan Rüegg <rggjan@gmail.com>
pkgname=gperftools
pkgver=2.8
pkgver=2.9.1
pkgrel=1
pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
arch=(x86_64 powerpc64le)
@ -20,30 +20,21 @@ provides=('libtcmalloc.so'
'libtcmalloc_and_profiler.so'
'libtcmalloc_minimal.so'
'libtcmalloc_minimal_debug.so')
makedepends=('git')
optdepends=('graphviz: pprof graph generation'
'gv: pprof postscript generation')
source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver")
md5sums=('SKIP')
prepare() {
cd "$pkgname"
./autogen.sh
}
source=(https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3')
build() {
cd "$pkgname"
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-frame-pointers
make
}
package() {
cd "$pkgname"
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: