🔒 Repository is read-only – file editing is disabled.

recipes/utils/jemalloc/PAGBUILD.yaml main

24 linii Raw ← Powrót
123456789101112131415161718192021222324
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