void-packages/srcpkgs/cni/template

22 lines
652 B
Bash

# Template file for 'cni'
pkgname=cni
version=1.2.3
revision=2
build_style=go
go_import_path="github.com/containernetworking/cni"
go_package="${go_import_path}/cnitool"
short_desc="Container Network Interface"
maintainer="Cameron Nemo <cam@nohom.org>"
license="Apache-2.0"
homepage="https://github.com/containernetworking/cni"
changelog="https://github.com/containernetworking/cni/releases"
distfiles="https://github.com/containernetworking/cni/archive/refs/tags/v${version}.tar.gz"
checksum=7e94c67144912b56d125dae9458b2fb21c8ce9fc868849df27e35dc8edaf7f24
post_install() {
for _doc in Documentation/*.md cnitool/README.md
do
vdoc "$_doc"
done
}