# Maintainer: Dave Reisner # Contributor: Alexander Rødseth # Contributor: Thomas Jost # Contributor: JaDa # Contributor: Joaquim Pedro # Contributor: Jan Rüegg # remove when bumped upstream pkgname=gperftools pkgver=2.9.1 pkgrel=1.1 pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools" arch=('x86_64') url="https://github.com/gperftools/gperftools" license=('BSD') depends=('perl') provides=('libtcmalloc.so' 'libprofiler.so' 'libtcmalloc_debug.so' 'libtcmalloc_and_profiler.so' 'libtcmalloc_minimal.so' 'libtcmalloc_minimal_debug.so') optdepends=('graphviz: pprof graph generation' 'gv: pprof postscript generation') source=(https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --enable-frame-pointers make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }