New package: nxt-1.11.15

closes #691
This commit is contained in:
Fabio Krapohl 2018-07-06 08:40:43 +00:00 committed by maxice8
parent 273bcd7385
commit ad0b879920
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
5 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
cd /usr/lib/nxt && bash run.sh

View file

@ -0,0 +1,2 @@
#!/bin/sh
cd /usr/lib/nxt && bash run-tor.sh

View file

@ -0,0 +1,3 @@
#!/bin/sh
sv check tor >/dev/null || exit 1
exec nxt-tor > /dev/null

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec nxt > /dev/null

26
srcpkgs/nxt/template Normal file
View file

@ -0,0 +1,26 @@
# 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}
}