# Template file for 'cni-plugins' pkgname=cni-plugins version=1.7.1 revision=1 build_style=go go_import_path="github.com/containernetworking/plugins" short_desc="Container Network Interface (plugins)" maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://github.com/containernetworking/plugins" changelog="https://github.com/containernetworking/plugins/releases" distfiles="https://github.com/containernetworking/plugins/archive/refs/tags/v${version}.tar.gz" checksum=95b639f8ccbb714da98e331ef8813f790d447fce5417f2f8a575f3c62bfb1474 do_build() { ./build_linux.sh \ -ldflags \ "-X ${go_import_path}/pkg/utils/buildversion.BuildVersion=${version}" } do_install() { vmkdir usr/libexec/cni vcopy "bin/*" usr/libexec/cni }