# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=netavark pkgver=1.5.0 pkgrel=0 pkgdesc="Container network stack" url="https://github.com/containers/netavark" license="Apache-2.0" # riscv64, s390x: fails to build due to nix crate # armv7, armhf, x86: FTBFS on 32-bit arches due to libc crate incompatibility # with musl's new ABI for time_t, see: https://github.com/rust-lang/libc/issues/1848 arch="all !s390x !riscv64 !armv7 !armhf !x86" makedepends="cargo mandown protoc" subpackages="$pkgname-doc" source="https://github.com/containers/netavark/archive/v$pkgver/netavark-$pkgver.tar.gz" options="net" export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse" build() { make mandown docs/$pkgname.1.md > docs/$pkgname.1 } check() { make unit } package() { make DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums=" 32ce316af1558cef9a49aedddc0db5dd058f1f5d2a145ef8299a156f51743ffc86a1f299ffadf2955742965f5f0d11070b6363dad42cbeb3f5e7a3363f00d5f3 netavark-1.5.0.tar.gz "