void-packages/srcpkgs/nxt/template

27 lines
679 B
Bash
Raw Normal View History

2018-07-06 08:40:43 +00:00
# Template file for 'nxt'
pkgname=nxt
version=1.11.15
revision=1
wrksrc="${pkgname}"
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the NXT cryptocurrency"
maintainer="Fabio Krapohl <fabio.u.krapohl@fau.de>"
license="Jelurida Public License 1.1"
homepage="https://nxt.org"
distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
checksum=933f7a5ed02b6f4af2d50060e60acda746a2261f733b90f2ab969e951c735dfa
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}
}