aboutsummaryrefslogtreecommitdiffstats
path: root/community/jattach/APKBUILD
blob: d821bf454de2bec0832d9490cde975b5494ce3db (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.5
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="a500c1c343e3386b94d5355a76c97f72851cd0b43c2b423b0f78d4817681d4214e3ff488a550c2813e415b13925c2e3fb87d6d6aa60eb50c2ad15f4d0a8862e2  jattach-1.5.tar.gz"