[arch-commits] Commit in lttng-ust2.12 (3 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Fri Nov 12 15:31:24 UTC 2021


    Date: Friday, November 12, 2021 @ 15:31:24
  Author: alucryd
Revision: 1043811

archrelease: copy trunk to community-x86_64

Added:
  lttng-ust2.12/repos/
  lttng-ust2.12/repos/community-x86_64/
  lttng-ust2.12/repos/community-x86_64/PKGBUILD
    (from rev 1043810, lttng-ust2.12/trunk/PKGBUILD)

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

Copied: lttng-ust2.12/repos/community-x86_64/PKGBUILD (from rev 1043810, lttng-ust2.12/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-11-12 15:31:24 UTC (rev 1043811)
@@ -0,0 +1,56 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Philippe Proulx <pproulx at efficios.com>
+# Contributor: Manuel Mendez <mmendez534 at gmail dot com>
+
+pkgname=lttng-ust2.12
+pkgver=2.12.0
+pkgrel=1
+pkgdesc='LTTng user space tracing libraries for LTTng'
+arch=(x86_64)
+url=https://lttng.org/
+license=(
+  LGPL2.1
+  GPL2
+  MIT
+)
+depends=(
+  glibc
+  libnuma.so
+  liburcu
+)
+makedepends=(git)
+_tag=f907545e84b940f9648edcf308a80bd79c5a3756
+source=(git+https://github.com/lttng/lttng-ust.git?signed#tag=${_tag})
+b2sums=(SKIP)
+validpgpkeys=(2A0B4ED915F2D3FA45F5B16217280A9781186ACF) # Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
+
+prepare() {
+  cd lttng-ust
+  autoreconf -fiv
+}
+
+pkgver() {
+  cd lttng-ust
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd lttng-ust
+  ./configure \
+    --prefix=/usr \
+    --includedir=/usr/include/lttng-ust2.12 \
+    --libdir=/usr/lib/lttng-ust2.12 \
+    --disable-examples \
+    --disable-man-pages
+  make
+}
+
+package() {
+  cd lttng-ust
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,share}
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/lttng-ust2.12/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list