# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=unresolved pkgver=0.1.1 pkgrel=0 pkgdesc="Local DNS forwarder with split DNS and DoT/DoH support" url="https://git.ptrc.gay/ptrcnull/unresolved" arch="aarch64 x86_64" license="BSD-2-Clause" makedepends="cargo" subpackages="$pkgname-openrc" source="https://git.ptrc.gay/ptrcnull/unresolved/-/archive/$pkgver/unresolved-$pkgver.tar.gz unresolved.initd unresolved.confd " options="!check" # whoops no tests prepare() { default_prepare cargo fetch --locked } build() { cargo build --frozen --release } package() { install -Dm755 target/release/unresolved "$pkgdir"/usr/bin/unresolved install -Dm755 "$srcdir"/unresolved.initd "$pkgdir"/etc/init.d/unresolved install -Dm644 "$srcdir"/unresolved.confd "$pkgdir"/etc/conf.d/unresolved } sha512sums=" e09593e6c4f242f3741999107a7368b50e56022927ff3e5ef566320c3c930065749416428b2de7fd16b09fb61e1e1369b8317b05e5c74c3db28a648f3cf5f0bc unresolved-0.1.1.tar.gz 491a20ae5fdd5eafa3f2eb26b036880790d34ce4b3d1f0855509c5183f497fc4dc4a7f10adbc2fee1761abc3920746487a053a99c30b892198cb9edf7d43ad18 unresolved.initd 77e26379361cf94744a5bf1c925162ab3c6129702ed3bf0f26d55c7dc2d91167194ff73812200313c96c5e5d554143059949d7a640848a265c817f4e79a4327f unresolved.confd "