23 lines
622 B
Bash
23 lines
622 B
Bash
# Template file for 'cni-plugins'
|
|
pkgname=cni-plugins
|
|
version=1.1.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 <cnemo@tutanota.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/containernetworking/plugins"
|
|
distfiles="https://github.com/containernetworking/plugins/archive/v${version}.tar.gz"
|
|
checksum=c86c44877c47f69cd23611e22029ab26b613f620195b76b3ec20f589367a7962
|
|
|
|
do_build() {
|
|
./build_linux.sh
|
|
}
|
|
|
|
do_install() {
|
|
vmkdir usr/libexec/cni
|
|
vcopy "bin/*" usr/libexec/cni
|
|
}
|