diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -3,11 +3,11 @@ _basename=gperftools pkgname=lib32-$_basename -pkgver=2.4 +pkgver=2.5 pkgrel=1 pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools (32-bit)" arch=('x86_64') -url="http://code.google.com/p/gperftools/" +url="https://github.com/gperftools/gperftools" license=('BSD') depends=('gperftools' 'lib32-gcc-libs') provides=('libtcmalloc.so' @@ -17,21 +17,27 @@ provides=('libtcmalloc.so' 'libtcmalloc_minimal.so' 'libtcmalloc_minimal_debug.so') makedepends=('gcc-multilib' 'git') -source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$_basename-$pkgver.tar.gz") -sha256sums=('982a37226eb42f40714e26b8076815d5ea677a422fb52ff8bfca3704d9c30a2d') +source=("git+https://github.com/gperftools/gperftools#tag=$_basename-$pkgver") +sha256sums=('SKIP') + +prepare() { + cd "$_basename" + + ./autogen.sh +} build() { export CC='gcc -m32' export CXX='g++ -m32' - cd "$_basename-$pkgver" + cd "$_basename" ./configure --prefix=/usr --libdir=/usr/lib32 --enable-frame-pointers make } package() { - cd "$_basename-$pkgver" + cd "$_basename" # not needed in 32-bit package make DESTDIR="$pkgdir" install |