pkgname: jemalloc pkgver: '5.3.1' pkgrel: '1' pkgdesc: 'General-purpose scalable concurrent malloc implementation' url: 'http://www.canonware.com/jemalloc/' arch: x86_64 depends: [] makedepends: [] source: - 'https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} sed -i "s/std::__throw_bad_alloc();/throw std::bad_alloc();/" src/jemalloc_cpp.cpp ./configure --prefix=/usr --enable-autogen make make DESTDIR=${PKGDIR} install find "${PKGDIR}" -name \*.a -type f -exec chmod 644 '{}' \; package: | true