void-packages/srcpkgs/dnscrypt-proxy/template
2022-02-22 02:03:36 +01:00

26 lines
935 B
Bash

# Template file for 'dnscrypt-proxy'
pkgname=dnscrypt-proxy
version=2.1.1
revision=2
build_style=go
go_import_path=github.com/dnscrypt/dnscrypt-proxy
go_package="${go_import_path}/dnscrypt-proxy"
short_desc="DNS proxy that encrypts queries"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/DNSCrypt/dnscrypt-proxy"
changelog="https://raw.githubusercontent.com/DNSCrypt/dnscrypt-proxy/master/ChangeLog"
distfiles="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${version}.tar.gz"
checksum=cc4a2f274ce48c3731ff981e940e6475d912fb356a80481e91725e81d67bde14
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
for example in dnscrypt-proxy/example*txt; do
vdoc $example
done
}