[arch-commits] Commit in bpftrace/repos (community-x86_64 community-x86_64/PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Mon Oct 12 03:47:25 UTC 2020
Date: Monday, October 12, 2020 @ 03:47:24
Author: anatolik
Revision: 723573
archrelease: copy trunk to community-x86_64
Added:
bpftrace/repos/community-x86_64/
bpftrace/repos/community-x86_64/PKGBUILD
(from rev 723572, bpftrace/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: bpftrace/repos/community-x86_64/PKGBUILD (from rev 723572, bpftrace/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-10-12 03:47:24 UTC (rev 723573)
@@ -0,0 +1,30 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com>
+
+pkgname=bpftrace
+pkgver=0.11.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')
+makedepends=('cmake' 'llvm' 'git')
+optdepends=('libbpf: BTF support - required at compile time')
+source=("https://github.com/iovisor/bpftrace/archive/v${pkgver}.tar.gz")
+sha512sums=('32bf0c23a7b0e1a57d0e0b8fc845a9e184e201ac3f6018a3d3cee8c97096093b333578cb898ede02fb3ab8d55ba9bcd2bb67ac70b81a49461c0f6e5c03c2a6f5')
+
+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
+}
More information about the arch-commits
mailing list