
packager="Spiky <spiky@nutyx.org>"
contributors="Rémy,Tnut"

name=jemalloc
version=5.3.0

description='General-purpose scalable concurrent malloc implementation'

url='http://www.canonware.com/jemalloc/'

source=("https://github.com/jemalloc/jemalloc/releases/download/$version/$name-$version.tar.bz2")

build() {
  cd $name-$version
  ./configure --prefix=/usr --enable-autogen
  make
  make DESTDIR=$PKG install
  find "$PKG" -name \*.a -type f -exec chmod 644 '{}' \;
}
