Date: Wednesday, February 17, 2021 @ 18:23:12
  Author: foutrelis
Revision: 862611

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: bpftrace/repos/community-staging-x86_64/PKGBUILD (from rev 862610, 
bpftrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-17 18:23:12 UTC (rev 862611)
@@ -0,0 +1,30 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.11.4
+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')
+options=(!strip)
+source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz";)
+sha512sums=('611a7e61dbd1f4cc52b7e51a1a143296ff7b2df115b3a28034c674d8eefb5d482cac551ab82d6b7cc2f6fc0668b07d2d9e283dff371fd9a3f649c80113fdca82')
+
+build() {
+  cd bpftrace-$pkgver
+
+  mkdir -p build
+  cd build
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
+  make
+}
+
+package() {
+  cd bpftrace-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+}

Reply via email to