[arch-commits] Commit in jemalloc/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Jun 10 21:07:29 UTC 2020


    Date: Wednesday, June 10, 2020 @ 21:07:28
  Author: eworm
Revision: 388774

archrelease: copy trunk to testing-x86_64

Added:
  jemalloc/repos/testing-x86_64/
  jemalloc/repos/testing-x86_64/PKGBUILD
    (from rev 388773, jemalloc/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: jemalloc/repos/testing-x86_64/PKGBUILD (from rev 388773, jemalloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-06-10 21:07:28 UTC (rev 388774)
@@ -0,0 +1,36 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Kovivchak Evgen <oneonfire at gmail.com>
+
+pkgname=jemalloc
+epoch=1
+pkgver=5.2.1
+pkgrel=3
+pkgdesc='General-purpose scalable concurrent malloc implementation'
+arch=('x86_64')
+license=('BSD')
+url='http://www.canonware.com/jemalloc/'
+depends=('glibc')
+provides=('libjemalloc.so')
+optdepends=('perl: for jeprof')
+source=("https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+    --disable-initial-exec-tls \
+    --enable-autogen \
+    --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  chmod 644 "$pkgdir/usr/lib/libjemalloc_pic.a"
+}



More information about the arch-commits mailing list