Date: Sunday, April 3, 2016 @ 23:39:50 Author: dreisner Revision: 263844
upgpkg: gperftools 2.5-1 - use git sources, since the tarballs are no better Modified: gperftools/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-04-03 20:59:18 UTC (rev 263843) +++ PKGBUILD 2016-04-03 21:39:50 UTC (rev 263844) @@ -7,11 +7,11 @@ # Contributor: Jan Rüegg <[email protected]> pkgname=gperftools -pkgver=2.4 -pkgrel=2 +pkgver=2.5 +pkgrel=1 pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools" arch=('i686' 'x86_64') -url="http://code.google.com/p/gperftools/" +url="https://github.com/gperftools/gperftools" license=('BSD') depends=('perl') provides=('libtcmalloc.so' @@ -20,13 +20,20 @@ 'libtcmalloc_and_profiler.so' 'libtcmalloc_minimal.so' 'libtcmalloc_minimal_debug.so') +makedepends=('git') optdepends=('graphviz: pprof graph generation' 'gv: pprof postscript generation') -source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz") -md5sums=('2171cea3bbe053036fb5d5d25176a160') +source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver") +md5sums=('SKIP') +prepare() { + cd "$pkgname" + + ./autogen.sh +} + build() { - cd "$pkgname-$pkgver" + cd "$pkgname" ./configure --prefix=/usr --enable-frame-pointers make @@ -33,7 +40,7 @@ } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
