forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate
More file actions
30 lines (29 loc) · 1.11 KB
/
Copy pathtemplate
File metadata and controls
30 lines (29 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'dnscrypt-proxy'
pkgname=dnscrypt-proxy
version=2.1.16
revision=1
build_style=go
go_import_path=github.com/dnscrypt/dnscrypt-proxy
go_package="${go_import_path}/dnscrypt-proxy"
depends="python3-urllib3"
short_desc="DNS proxy that encrypts queries"
maintainer="cinerea0 <cinerea0@protonmail.com>"
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/refs/tags/${version}.tar.gz"
checksum=7ba5aa76d3fdc6fbb667689ba13d8ac3e66be27655695a9d412e5ad4afe34f8d
conf_files="/etc/dnscrypt-proxy/dnscrypt-proxy.toml"
system_accounts="dnscrypt_proxy"
post_install() {
vinstall dnscrypt-proxy/example-dnscrypt-proxy.toml 644 /etc/dnscrypt-proxy dnscrypt-proxy.toml
vlicense LICENSE
vsv dnscrypt-proxy
for example in dnscrypt-proxy/example*txt; do
vsconf "${example}"
done
vbin utils/generate-domains-blocklist/generate-domains-blocklist.py
for f in utils/generate-domains-blocklist/*.{conf,txt}; do
vinstall "${f}" 644 /usr/share/dnscrypt-proxy
done
}