aboutsummaryrefslogtreecommitdiffstats
path: root/community/jattach/APKBUILD
blob: 58aeed9584606310b024271e42cd9633c321ecd6 (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.4
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="ea539e8217448495cd442e0f33dbcdefe81fbd49a0ab60ccf53d2346b782506e02c5c5b1c151b76168df2fcb5fc916bba3d8b98b740c8de90ddb696165855b46  jattach-1.4.tar.gz"