# Template file for 'cni-plugins' pkgname=cni-plugins version=1.5.1 revision=2 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=a2eff5f064f809ee41f8f49ef8aed1f0a4093c0c772f2ce2caaee4e6f395050a 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 }