# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=aardvark-dns pkgver=1.7.0 pkgrel=1 pkgdesc="Authoritative DNS server for A/AAAA container records" url="https://github.com/containers/aardvark-dns" license="Apache-2.0" # s390x: fails to build due to nix crate arch="all !s390x" makedepends="cargo" source="https://github.com/containers/aardvark-dns/archive/v$pkgver/aardvark-dns-$pkgver.tar.gz" options="net" prepare() { default_prepare cargo fetch --target="$CTARGET" --locked } build() { cargo build --release --frozen } check() { cargo test --frozen } package() { install -Dm755 target/release/aardvark-dns \ -t "$pkgdir"/usr/libexec/podman/ } sha512sums=" d829ac122f26f17ca44a41a48576ab8c4f9dd238bc52faee816833f63f9ff54e63f62610167e4619084263e61cdb1329c2e1d49f314c8b9e65e748df80fd5096 aardvark-dns-1.7.0.tar.gz "