void-packages/srcpkgs/docker-machine/template
2018-11-03 04:37:05 -03:00

22 lines
690 B
Bash

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