void-packages/srcpkgs/frp/template
2021-10-21 00:10:23 -03:00

22 lines
577 B
Bash

# Template file for 'frp'
pkgname=frp
version=0.37.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"
short_desc="Fast reverse proxy"
maintainer="Anachron <gith@cron.world>"
license="Apache-2.0"
homepage="https://github.com/fatedier/frp"
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
checksum=e2c1f93d504ae3bbe3407aaec43efa5c5f09b6d1a35306b58808c4f36b53f396
conf_files="/etc/frp/*.ini"
post_install() {
vmkdir etc/frp
vcopy conf/*.ini etc/frp
vsv frpc
vsv frps
}