void-packages/srcpkgs/dnscrypt-proxy/template

24 lines
836 B
Bash

# Template file for 'dnscrypt-proxy'
pkgname=dnscrypt-proxy
version=2.0.19
revision=2
build_style=go
go_import_path=github.com/jedisct1/dnscrypt-proxy
go_package="${go_import_path}/dnscrypt-proxy"
short_desc="DNS proxy that encrypts queries"
maintainer="Juan RP <xtraeme@voidlinux.org>"
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=98b05aec5187cd4c2aea910d7ea7facd5ad57c0cbfa07401868647764d5c2896
conf_files="/etc/dnscrypt-proxy.toml"
system_accounts="dnscrypt_proxy"
make_dirs="/var/log/dnscrypt-proxy 0750 dnscrypt_proxy dnscrypt_proxy"
post_install() {
vconf dnscrypt-proxy/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
vlicense LICENSE
vsv dnscrypt-proxy
}