[arch-commits] Commit in bpftrace/repos (2 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Wed Jun 1 01:10:54 UTC 2022
Date: Wednesday, June 1, 2022 @ 01:10:54
Author: anatolik
Revision: 1218273
archrelease: copy trunk to community-testing-x86_64
Added:
bpftrace/repos/community-testing-x86_64/
bpftrace/repos/community-testing-x86_64/PKGBUILD
(from rev 1218272, bpftrace/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: bpftrace/repos/community-testing-x86_64/PKGBUILD (from rev 1218272, bpftrace/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-06-01 01:10:54 UTC (rev 1218273)
@@ -0,0 +1,28 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.15.0
+pkgrel=1
+pkgdesc='High-level tracing language for Linux eBPF'
+arch=('x86_64')
+url='https://github.com/iovisor/bpftrace'
+license=('Apache')
+depends=('libelf' 'zlib' 'llvm-libs' 'clang' 'bcc' 'libbpf')
+makedepends=('cmake' 'llvm' 'git' 'linux-headers' 'ninja' 'gtest' 'cereal'
+ 'asciidoctor' 'xxd')
+options=(!strip)
+source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz")
+sha512sums=('916e9afeab301e62472e570ef77a3b9b27b43251880b64f1c5f151583c59a6c61e9ede50f3607044b27c5a6ce1a654f290153bf3f9237ebc0a823b5e6356187a')
+
+build() {
+ cd bpftrace-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -G Ninja -B build
+ ninja -C build
+}
+
+package() {
+ cd bpftrace-$pkgver
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list