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

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 10:17:53 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:17:53
  Author: foutrelis
Revision: 384070

archrelease: copy trunk to staging-x86_64

Added:
  jemalloc/repos/staging-x86_64/
  jemalloc/repos/staging-x86_64/PKGBUILD
    (from rev 384069, jemalloc/trunk/PKGBUILD)

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

Copied: jemalloc/repos/staging-x86_64/PKGBUILD (from rev 384069, jemalloc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:17:53 UTC (rev 384070)
@@ -0,0 +1,35 @@
+# 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=2
+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 \
+    --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