void-packages/srcpkgs/flannel/template
2021-11-08 00:13:59 +01:00

21 lines
518 B
Bash

# Template file for 'flannel'
pkgname=flannel
version=0.15.1
revision=1
build_style=go
short_desc="Etcd backed network fabric for containers"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
depends="etcd"
license="Apache-2.0"
go_import_path="github.com/coreos/flannel"
homepage="https://$go_import_path"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum=d882df8b2389dbb3c41f8d3eb026836c6d17c35de5db9ee9c95b08335af1463d
post_extract() {
ln -s $wrksrc vendor/$go_import_path
}
post_install() {
vsv flannel
}