aboutsummaryrefslogtreecommitdiffhomepage
path: root/srcpkgs/wireproxy/template
blob: 0ad0b1528ca9167fedaff81aba135856a8bcfa3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Template file for 'wireproxy'
pkgname=wireproxy
version=1.1.2
revision=1
build_style=go
go_import_path="github.com/windtf/wireproxy"
go_package="${go_import_path}/cmd/wireproxy"
go_ldflags="-X 'main.version=${version}'"
short_desc="Wireguard client that exposes itself as a SOCKS5 proxy"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://github.com/windtf"
distfiles="https://github.com/windtf/wireproxy/archive/refs/tags/v${version}.tar.gz"
checksum=c2568017c7e27c0642c27b68b9b1adb34e6fe8165277f75a48e47d6af6bcf3e4
make_dirs="
 /etc/wireproxy 0750 root _wireproxy
 /var/lib/wireproxy 0700 _wireproxy _wireproxy"

system_accounts="_wireproxy"
_wireproxy_homedir="/var/lib/wireproxy"

post_install() {
	vsv wireproxy
	vlicense LICENSE
}