Date: Tuesday, January 18, 2022 @ 17:57:31 Author: anatolik Revision: 1109298
archrelease: copy trunk to community-testing-x86_64 Added: bpftrace/repos/community-testing-x86_64/ bpftrace/repos/community-testing-x86_64/PKGBUILD (from rev 1109297, bpftrace/trunk/PKGBUILD) ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Copied: bpftrace/repos/community-testing-x86_64/PKGBUILD (from rev 1109297, bpftrace/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-01-18 17:57:31 UTC (rev 1109298) @@ -0,0 +1,28 @@ +# Maintainer: Anatol Pomozov +# Contributor: Tommaso Sardelli <lacapannadelloziotom at gmail dot com> + +pkgname=bpftrace +pkgver=0.14.1 +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' 'cereal' + 'asciidoctor' 'xxd') +options=(!strip) +source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz") +sha512sums=('0be06c209ba12f70a0d1140b168dac94945c1b034dbd0c7dae5460fca43eec10bb436e28c122ec37b259256bf6b9bb23a3c5e7f8435feb67eae1b9277debaf73') + +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 +}