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

Christian Hesse eworm at archlinux.org
Wed Apr 3 06:41:24 UTC 2019


    Date: Wednesday, April 3, 2019 @ 06:41:24
  Author: eworm
Revision: 349782

archrelease: copy trunk to testing-x86_64

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

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

Copied: jemalloc/repos/testing-x86_64/PKGBUILD (from rev 349781, jemalloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-04-03 06:41:24 UTC (rev 349782)
@@ -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.0
+pkgrel=1
+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=('74be9f44a60d2a99398e706baa921e4efde82bf8fd16e5c0643c375c5851e3b4')
+
+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