# Maintainer: Daniel Langbein _pkgname=dns _reponame=arch pkgname="de-p1st-$_pkgname" pkgver=0.0.5 pkgrel=1 pkgdesc="DNS configuration: Use DNS over TLS" arch=('any') url="https://codeberg.org/privacy1st/${_reponame}" license=('MIT') # systemd-resolvd depends=('systemd') # (optional) replacement for resolvconf depends+=('systemd-resolvconf') # this has only been tested with NetworkManager, so we depend on it depends+=('de-p1st-networkmanager') makedepends=('git') install='.install' conflicts=() # 'openresolv' conflicts with 'systemd-resolvd' source=("git+${url}.git") sha256sums=('SKIP') package() { cd "${_reponame}/pkg/${pkgname}" install -Dm0644 DoT.conf "$pkgdir"/etc/systemd/resolved.conf.d/DoT.conf install -Dm0644 dns.conf "$pkgdir"/etc/NetworkManager/conf.d/dns.conf install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset }