[arch-commits] Commit in bpftrace/repos (2 files)

Anatol Pomozov anatolik at gemini.archlinux.org
Wed Jun 22 19:22:18 UTC 2022


    Date: Wednesday, June 22, 2022 @ 19:22:18
  Author: anatolik
Revision: 1239029

archrelease: copy trunk to community-staging-x86_64

Added:
  bpftrace/repos/community-staging-x86_64/
  bpftrace/repos/community-staging-x86_64/PKGBUILD
    (from rev 1239028, bpftrace/trunk/PKGBUILD)

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

Copied: bpftrace/repos/community-staging-x86_64/PKGBUILD (from rev 1239028, bpftrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-06-22 19:22:18 UTC (rev 1239029)
@@ -0,0 +1,28 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.15.0
+pkgrel=2
+pkgdesc='High-level tracing language for Linux eBPF'
+arch=('x86_64')
+url='https://github.com/iovisor/bpftrace'
+license=('Apache')
+depends=('libelf' 'zlib' 'llvm13-libs' 'clang13' 'bcc' 'libbpf')
+makedepends=('cmake' 'llvm13' '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 -DLLVM_DIR=/usr/lib/llvm13/lib/cmake/llvm/ -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