void-packages/srcpkgs/docker-machine/template

23 lines
677 B
Bash

# Template file for 'docker-machine'
pkgname=docker-machine
version=0.13.0
revision=3
wrksrc="machine-${version}"
build_style=go
go_import_path="github.com/docker/machine"
go_package="${go_import_path}/cmd"
short_desc="Docker Machine management for a container-centric world"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
license="Apache-2.0"
homepage="https://github.com/docker/machine/"
distfiles="https://github.com/docker/machine/archive/v${version}.tar.gz"
checksum=f75f6602a6d013a7b2ae517c3bdb07d8977825c1a0506157831fcd2ae083dc25
do_install() {
vlicense LICENSE
find "${GOPATH}/bin" -type f -executable | while read line
do
vbin "${line}" docker-machine
done
}