[arch-commits] Commit in (3 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Fri Nov 12 15:31:12 UTC 2021
Date: Friday, November 12, 2021 @ 15:31:12
Author: alucryd
Revision: 1043810
add lttng-ust2.12 for dotnet-core
Added:
lttng-ust2.12/
lttng-ust2.12/trunk/
lttng-ust2.12/trunk/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Added: lttng-ust2.12/trunk/PKGBUILD
===================================================================
--- lttng-ust2.12/trunk/PKGBUILD (rev 0)
+++ lttng-ust2.12/trunk/PKGBUILD 2021-11-12 15:31:12 UTC (rev 1043810)
@@ -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