void-packages/srcpkgs/nxt/template
Fabio Krapohl aa4073baea nxt: update to 1.12.2.
Closes: #23312 [via git-merge-pr]
2021-01-29 00:13:45 -03:00

26 lines
679 B
Bash

# Template file for 'nxt'
pkgname=nxt
version=1.12.2
revision=1
wrksrc="${pkgname}"
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the NXT cryptocurrency"
maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
license="custom:Jelurida Public License 1.1"
homepage="https://nxt.org"
distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
checksum=83689f6d85e59be44920328d99aa934bb8998f4b5c7ea8088c83ab4503b49a42
do_install() {
vbin ${FILESDIR}/bin/${pkgname}
vbin ${FILESDIR}/bin/${pkgname}-tor
vsv ${pkgname}
vsv ${pkgname}-tor
vlicense LICENSE.txt
vmkdir usr/lib/${pkgname}
vcopy . usr/lib/${pkgname}
}