diff --git a/srcpkgs/docker-machine/template b/srcpkgs/docker-machine/template new file mode 100644 index 0000000000..d91d1bcd28 --- /dev/null +++ b/srcpkgs/docker-machine/template @@ -0,0 +1,24 @@ +# Template file for 'docker-machine' +pkgname=docker-machine +version=0.5.5 +revision=1 +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 " +license="Apache-2.0" +homepage="https://github.com/docker/machine/" +distfiles="https://github.com/docker/machine/archive/v${version}.tar.gz" +checksum=106a804491120bfc9da8a2229b4ce33b4d99210ada0b4ad4f6e1590f81eef8d8 +export GO15VENDOREXPERIMENT=1 + +do_install() { + vlicense LICENSE + find "${GOPATH}/bin" -type f -executable | while read line + do + vbin "${line}" docker-machine + done +}