blob: 917d3e831c62cafe62b4a84d065c95ec0e95f192 (
plain)
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
|
# Maintainer: Whyme Lyu <callme5long@gmail.com>
pkgname=dnsproxy-bin
pkgver=0.73.3
pkgrel=1
pkgdesc="Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support"
arch=('x86_64')
url="https://github.com/AdguardTeam/dnsproxy"
license=('Apache-2.0')
provides=(dnsproxy)
conflicts=(dnsproxy dnsproxy-adguard)
source=(
"https://github.com/AdguardTeam/dnsproxy/releases/download/v$pkgver/dnsproxy-linux-amd64-v$pkgver.tar.gz"
dnsproxy.yaml
dnsproxy.service
)
_conf=etc/dnsproxy/dnsproxy.yaml
backup=($_conf)
package() {
cd "$srcdir"
install -Dm755 linux-amd64/dnsproxy "$pkgdir"/usr/bin/dnsproxy
install -Dm644 linux-amd64/LICENSE "$pkgdir"/usr/share/licenses/dnsproxy/LICENSE
install -Dm644 linux-amd64/README.md "$pkgdir"/usr/share/doc/dnsproxy/README.md
install -Dm644 dnsproxy.yaml "$pkgdir/$_conf"
install -Dm644 dnsproxy.service "$pkgdir"/usr/lib/systemd/system/dnsproxy.service
}
sha256sums=('ede1d43ac43b2a85b0e7c7645decfd8f8f9d2764e65fdd4e7af6ac2ec2fae46a'
'72937969cc68182672e945fb26a6e350772a421463a4593c113d2f89af0b922c'
'565eea9808589ecafa81f2229ac1f85b39028e26d488a9a7c0b51afc43d7f42b')
|