23 lines
705 B
Bash
23 lines
705 B
Bash
# Template file for 'glider'
|
|
pkgname=glider
|
|
version=0.16.3
|
|
revision=2
|
|
build_style=go
|
|
go_import_path=github.com/nadoo/glider
|
|
short_desc="Forward proxy with multiple protocols support"
|
|
maintainer="whoami <whoami@systemli.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/nadoo/glider"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=709b17ed90b41ec6da063b4598f32350f5e849d93a9ca77ca19b1978c500cb97
|
|
conf_files="/etc/glider/config /etc/glider/rules.d/*"
|
|
|
|
post_install() {
|
|
vmkdir etc/glider/rules.d
|
|
vmkdir usr/share/examples/glider
|
|
vcopy "config/examples/*" usr/share/examples/glider
|
|
vcopy config/glider.conf.example etc/glider/config
|
|
vcopy config/rules.d etc/glider
|
|
vsv glider
|
|
}
|