# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=jemalloc pkgver=5.0.0 pkgrel=0 pkgdesc="A general purpose malloc(3) implementation" url="http://www.canonware.com/jemalloc/" arch="all" license="BSD" depends="" makedepends="" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.bz2::https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2 jemalloc-no-pprof.patch " builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-syscall \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="346190086fc9e53bba23c8daf4a74155c9760704358e6e0dd27269589d964f2e23dc0dde3c015a9f636e011ecaeb14d991f5c6df66bcf224adfa13606df20bbd jemalloc-5.0.0.tar.bz2 a97c4eb504f8eb725fdd65683b512ea69773f1a183020a785cd02c5ac7e174a7206bf921a30ce63e5b183ef7bef34cec28ccdb57e16dfebd33f5a8161af2989d jemalloc-no-pprof.patch"