voidlinux package script
This commit is contained in:
parent
b7811f7531
commit
af736965e0
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'tfclient'
|
||||
pkgname=tfclient
|
||||
version=0.2.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
configure_args=""
|
||||
hostmakedepends="go"
|
||||
makedepends="go"
|
||||
short_desc="Open-source Rust client for Defined Networking networks"
|
||||
maintainer="c0repwn3r <core@e3t.cc>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://hub.e3t.cc/~core/trifid"
|
||||
distfiles="https://git.e3t.cc/~core/trifid/archive/${pkgname}-v${version}.tar.gz"
|
||||
checksum=3940d2ed10c21e1816b267982c0d65681889a2130ba9a3b1d70c481b5a05fa30
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
vsv tfclient
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec tfclient --server ${SERVER:- https://api.defined.net} --name ${NAME:- tfclient}
|
Loading…
Reference in New Issue