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

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Jul 19 16:16:20 UTC 2021


    Date: Monday, July 19, 2021 @ 16:16:20
  Author: anatolik
Revision: 978797

archrelease: copy trunk to community-testing-x86_64

Added:
  bpftrace/repos/community-testing-x86_64/
  bpftrace/repos/community-testing-x86_64/PKGBUILD
    (from rev 978796, bpftrace/trunk/PKGBUILD)

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

Copied: bpftrace/repos/community-testing-x86_64/PKGBUILD (from rev 978796, bpftrace/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-07-19 16:16:20 UTC (rev 978797)
@@ -0,0 +1,27 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.13.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')
+options=(!strip)
+source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz")
+sha512sums=('16b3f11c365cc7e306045a5cb6bcf6c66b92d746884f6587ce7cc4c76841b284757bff7b38b9838eb3db129e996e4f1b13afec34da57981362dadef8460816d0')
+
+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