parent
273bcd7385
commit
ad0b879920
5 changed files with 35 additions and 0 deletions
2
srcpkgs/nxt/files/bin/nxt
Normal file
2
srcpkgs/nxt/files/bin/nxt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd /usr/lib/nxt && bash run.sh
|
2
srcpkgs/nxt/files/bin/nxt-tor
Normal file
2
srcpkgs/nxt/files/bin/nxt-tor
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd /usr/lib/nxt && bash run-tor.sh
|
3
srcpkgs/nxt/files/nxt-tor/run
Normal file
3
srcpkgs/nxt/files/nxt-tor/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sv check tor >/dev/null || exit 1
|
||||||
|
exec nxt-tor > /dev/null
|
2
srcpkgs/nxt/files/nxt/run
Normal file
2
srcpkgs/nxt/files/nxt/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec nxt > /dev/null
|
26
srcpkgs/nxt/template
Normal file
26
srcpkgs/nxt/template
Normal 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}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue