Date: Tuesday, October 26, 2021 @ 01:02:48 Author: foutrelis Revision: 1033699
archrelease: copy trunk to community-staging-x86_64 Added: bpftrace/repos/community-staging-x86_64/ bpftrace/repos/community-staging-x86_64/PKGBUILD (from rev 1033698, bpftrace/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: bpftrace/repos/community-staging-x86_64/PKGBUILD (from rev 1033698, bpftrace/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-26 01:02:48 UTC (rev 1033699) @@ -0,0 +1,28 @@ +# Maintainer: Anatol Pomozov +# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com> + +pkgname=bpftrace +pkgver=0.14.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' 'gtest' 'cereal' + 'asciidoctor' 'xxd') +options=(!strip) +source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz") +sha512sums=('78f2d9a4d54c0dda1947b924a828777b402befc3a05031b609da4d256907df1e64f946454a9be7317449f49706f02a881febc4e63d2ef2f4e76924ea19e36ddb') + +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 +}