voidlinux package script

This commit is contained in:
c0repwn3r 2023-06-25 22:31:24 -04:00
parent b7811f7531
commit af736965e0
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 22 additions and 0 deletions

19
packages/void/template Normal file
View File

@ -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
}

View File

@ -0,0 +1,3 @@
#!/bin/sh
[ -r conf ] && . ./conf
exec tfclient --server ${SERVER:- https://api.defined.net} --name ${NAME:- tfclient}