diff --git a/packages/void/template b/packages/void/template new file mode 100644 index 0000000..f38ddfa --- /dev/null +++ b/packages/void/template @@ -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 " +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 +} \ No newline at end of file diff --git a/packages/void/tfclient/run b/packages/void/tfclient/run new file mode 100644 index 0000000..f35e9ad --- /dev/null +++ b/packages/void/tfclient/run @@ -0,0 +1,3 @@ +#!/bin/sh +[ -r conf ] && . ./conf +exec tfclient --server ${SERVER:- https://api.defined.net} --name ${NAME:- tfclient} \ No newline at end of file