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

Evangelos Foutras foutrelis at archlinux.org
Sun May 30 04:32:51 UTC 2021


    Date: Sunday, May 30, 2021 @ 04:32:50
  Author: foutrelis
Revision: 950343

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: bpftrace/repos/community-staging-x86_64/PKGBUILD (from rev 950342, bpftrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-30 04:32:50 UTC (rev 950343)
@@ -0,0 +1,27 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.12.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' 'llvm-libs' 'clang' 'bcc' 'libbpf')
+makedepends=('cmake' 'llvm' 'git' 'linux-headers' 'ninja')
+options=(!strip)
+source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz")
+sha512sums=('ebbdd909763ba142551d79e06c0fa0ec84245ffc4386b33144dce7e67d14e4fe0e81d0003adc7c9194d82c6b41fc49f16f9960db0dd78a620a69f83d17e8811f')
+
+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