void-packages/srcpkgs/cni-plugins/template
2019-06-10 09:19:39 +02:00

22 lines
628 B
Bash

# Template file for 'cni-plugins'
pkgname=cni-plugins
version=0.8.1
revision=1
wrksrc="plugins-${version}"
build_style=go
go_import_path="github.com/containernetworking/plugins"
short_desc="Container Network Interface (plugins)"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/containernetworking/plugins"
distfiles="https://github.com/containernetworking/plugins/archive/v${version}.tar.gz"
checksum=1b6f66835b52eb382f625cb98b70ddfaa02bbaf016ef4d9eb5faa21d0648e519
do_build() {
./build_linux.sh
}
do_install() {
vmkdir usr/libexec/cni
vcopy "bin/*" usr/libexec/cni
}