python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / frp / template
blob14605910b9b3203b59017161728e1fc31d9378bf
1 # Template file for 'frp'
2 pkgname=frp
3 version=0.16.1
4 revision=2
5 build_style=go
6 go_import_path="github.com/fatedier/frp"
7 go_package="${go_import_path}/cmd/frpc ${go_import_path}/cmd/frps"
8 conf_files="/etc/frp/*.ini"
9 maintainer="cr6git <quark6@protonmail.com>"
10 short_desc="Fast reverse proxy"
11 homepage="https://github.com/fatedier/frp"
12 license="Apache-2.0"
13 distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
14 checksum=f4d5a6ab4e0966edcb214c3f609b0514f2ea6f0241248db66fb6ee79057fedbe
16 post_install() {
17         vinstall conf/frpc_full.ini 644 etc/frp
18         vinstall conf/frps_full.ini 644 etc/frp
19         vinstall conf/frpc.ini 644 etc/frp
20         vinstall conf/frps.ini 644 etc/frp
21         vlicense LICENSE
22         vsv frpc
23         vsv frps