void-packages/srcpkgs/dnscrypt-proxy/template

23 lines
767 B
Bash

# Template file for 'dnscrypt-proxy'
pkgname=dnscrypt-proxy
version=2.0.12
revision=1
build_style=go
short_desc="DNS proxy that encrypts queries"
go_import_path="github.com/jedisct1/dnscrypt-proxy"
go_package="${go_import_path}/dnscrypt-proxy"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="https://github.com/jedisct1/dnscrypt-proxy"
#changelog="https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/ChangeLog"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=cd608949ea7f9e760626e4c6a70b5edcbd0452d0715342e07799dff2f85d5dfe
conf_files="/etc/dnscrypt-proxy.toml"
system_accounts="dnscrypt_proxy"
post_install() {
vconf dnscrypt-proxy/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
vlicense LICENSE
vsv dnscrypt-proxy
}