testing/jattach: new aport

This commit is contained in:
jchipmunk 2018-03-07 14:35:58 +03:00 committed by Sören Tempel
parent 03ad8cc2c1
commit 782065ccea

24
testing/jattach/APKBUILD Normal file
View File

@ -0,0 +1,24 @@
# Contributor: Andrey Pustovetov <andrey.pustovetov@gmail.com>
# Maintainer: Andrey Pustovetov <andrey.pustovetov@gmail.com>
pkgname=jattach
pkgver=1.1
pkgrel=0
pkgdesc="JVM dynamic attach utility"
url="https://github.com/apangin/jattach"
arch="all"
license="Apache-2.0"
options="!check" # upstream doesn't have a test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/apangin/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
}
package() {
mkdir -p "$pkgdir"
install -Dm0755 "$builddir/build/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
sha512sums="9046cf3c4ec5b08ab71a2145b7b777aac7de5453a32cce551dd4daef2a545c32d365c171ce8ad04e3106fea614137a0368d84b8966d796ecb0412810834dd793 jattach-1.1.tar.gz"