26 lines
758 B
Bash
26 lines
758 B
Bash
# Template file for 'wireproxy'
|
|
pkgname=wireproxy
|
|
version=1.0.5
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="github.com/octeep/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="Wind Wong <octeep@pm.me>"
|
|
license="ISC"
|
|
homepage="https://github.com/octeep/wireproxy"
|
|
distfiles="https://github.com/octeep/wireproxy/archive/v${version}.tar.gz"
|
|
checksum=3779a157713b462a7b5322f1437f768ab69ae446df0ceca76c6dff7c4030e425
|
|
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
|
|
}
|