void-packages/srcpkgs/glider/template
2020-12-19 02:53:40 -03:00

23 lines
727 B
Bash

# Template file for 'glider'
pkgname=glider
version=0.13.0
revision=1
build_style=go
go_import_path=github.com/nadoo/glider
hostmakedepends="git"
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=f10e416e9b8ed7ff20b9c2f7dc0e47d65f22c170b7d1ffa74d8ceb0f91e5b412
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
}