24 lines
692 B
Bash
24 lines
692 B
Bash
# Template file for 'frp'
|
|
pkgname=frp
|
|
version=0.22.0
|
|
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"
|
|
short_desc="Fast reverse proxy"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/fatedier/frp"
|
|
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
|
|
checksum=f20dde034d3c6a3eaf9a5d1a9c62b47c2ae5d27c59c5549cf3c01d8b7099330d
|
|
|
|
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
|
|
vsv frpc
|
|
vsv frps
|
|
}
|