# Maintainer: Vadim Tsesko pkgname=async-profiler pkgver=1.4 pkgrel=2 pkgdesc='Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events' arch=('x86_64') url='https://github.com/jvm-profiling-tools/async-profiler' license=('Apache') provides=('async-profiler') groups=('jvm-profiling-tools' 'odnoklassniki') depends=('java-environment') source=("$pkgname-$pkgver.tar.gz::https://github.com/jvm-profiling-tools/async-profiler/archive/v$pkgver.tar.gz") sha256sums=('e76dc9ae4751c7b362b2b05c91e3a01faca902db5da56e27d70a1502dd293594') install='async-profiler.install' build() { cd "$pkgname-$pkgver" make all } package() { cd "$pkgname-$pkgver" install -d "$pkgdir/opt/async-profiler/build" install build/libasyncProfiler.so build/jattach build/async-profiler.jar "$pkgdir/opt/async-profiler/build" install profiler.sh "$pkgdir/opt/async-profiler/profiler.sh" }