24 lines
841 B
Bash
24 lines
841 B
Bash
# Template file for 'netavark'
|
|
pkgname=netavark
|
|
version=1.12.2
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="mandown protobuf"
|
|
short_desc="Container network stack"
|
|
maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/containers/netavark"
|
|
changelog="https://raw.githubusercontent.com/containers/netavark/main/RELEASE_NOTES.md"
|
|
distfiles="https://github.com/containers/netavark/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=d1e5a7e65b825724fd084b0162084d9b61db8cda1dad26de8a07be1bd6891dbc
|
|
# needs unshare which cannot be used in CI
|
|
make_check=ci-skip
|
|
|
|
post_install() {
|
|
vmkdir usr/libexec/podman
|
|
ln -sf ../../bin/netavark "${DESTDIR}/usr/libexec/podman"
|
|
ln -sf ../../bin/netavark-dhcp-proxy-client "${DESTDIR}/usr/libexec/podman"
|
|
mandown docs/netavark.1.md > netavark.1
|
|
vman netavark.1
|
|
}
|