23 lines
582 B
Bash
23 lines
582 B
Bash
# Template file for 'frp'
|
|
pkgname=frp
|
|
version=0.25.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="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/fatedier/frp"
|
|
distfiles="https://github.com/fatedier/frp/archive/v${version}.tar.gz"
|
|
checksum=33bda2e559f072e8423d8ef84a66b150c4a5fe986c892cbdd8b5bebe2f7956be
|
|
|
|
conf_files="/etc/frp/*.ini"
|
|
|
|
post_install() {
|
|
vmkdir etc/frp
|
|
vcopy conf/*.ini etc/frp
|
|
vsv frpc
|
|
vsv frps
|
|
}
|