void-packages/srcpkgs/frp/template
2018-04-02 15:10:22 +02:00

24 lines
712 B
Bash

# Template file for 'frp'
pkgname=frp
version=0.16.1
revision=1
build_style=go
go_import_path="github.com/fatedier/frp"
go_package="${go_import_path}/cmd/frpc ${go_import_path}/cmd/frps"
conf_files="/etc/frp/*.ini"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Fast reverse proxy"
homepage="https://github.com/fatedier/frp"
license="Apache-2.0"
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
checksum=f4d5a6ab4e0966edcb214c3f609b0514f2ea6f0241248db66fb6ee79057fedbe
post_install() {
vinstall conf/frpc_full.ini 644 etc/frp
vinstall conf/frps_full.ini 644 etc/frp
vinstall conf/frpc.ini 644 etc/frp
vinstall conf/frps.ini 644 etc/frp
vlicense LICENSE
vsv frpc
vsv frps
}