aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jattach/APKBUILD
blob: 431b9064fe2ff56e4e92ab0cee72daa6d7c0cc72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"