void-packages/srcpkgs/glider/template

25 lines
744 B
Bash
Raw Normal View History

2019-03-21 08:24:21 +01:00
# Template file for 'glider'
pkgname=glider
version=0.7.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=6289b1b202849bfc0b00c74955535522cc1113ae8ccc6614a9493407fcacee35
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
vlicense LICENSE
}