# $Id: PKGBUILD 191875 2013-08-01 00:55:33Z dreisner $ # Maintainer: Dave Reisner # Contributor: Alexander Rødseth # Contributor: Thomas Jost # Contributor: JaDa # Contributor: Joaquim Pedro # Contributor: Jan Rüegg pkgname=gperftools pkgver=2.1 pkgrel=1 pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools" arch=('i686' 'x86_64') url="http://code.google.com/p/gperftools/" license=('BSD') depends=('perl') optdepends=('graphviz: pprof graph generation' 'gv: pprof postscript generation') options=('!libtool') source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz") sha256sums=('f3ade29924f89409d8279ab39e00af7420593baa4941c318db42e70ead7e494f') 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" } # vim:set ts=2 sw=2 et: