void-packages/srcpkgs/docker-machine/template
2017-05-29 14:10:34 +02:00

23 lines
698 B
Bash

# Template file for 'docker-machine'
pkgname=docker-machine
version=0.6.0
revision=6
wrksrc="machine-${version}"
build_style=go
go_import_path="github.com/docker/machine"
go_package="${go_import_path}/cmd"
hostmakedepends="git"
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=e95f1d0efee8de1b0d97ddc2620cd8ee57ea0de9950a302307e9a9cd3d32ae5a
do_install() {
vlicense LICENSE
find "${GOPATH}/bin" -type f -executable | while read line
do
vbin "${line}" docker-machine
done
}