1 # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
2 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
3 # Contributor: Kovivchak Evgen <oneonfire@gmail.com>
9 pkgdesc='General-purpose scalable concurrent malloc implementation'
12 url='http://www.canonware.com/jemalloc/'
16 provides=('libjemalloc.so')
17 optdepends=('perl: for jeprof')
18 source=("https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
19 sha256sums=('2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa')
24 # FS#71745: GCC-built jemalloc causes telegram-desktop to crash a lot. The reason is still not clear.
37 make DESTDIR="$pkgdir" install
39 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
40 chmod 644 "$pkgdir/usr/lib/libjemalloc_pic.a"