summaryrefslogtreecommitdiffstats
path: root/system/docker-machine/docker-machine.SlackBuild
diff options
context:
space:
mode:
author Audrius Ka┼żukauskas <audrius@neutrino.lt>2017-09-10 19:42:46 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-16 07:15:25 +0700
commitce113e52e4a47102b3b6cfc2092e66684787c33c (patch)
treeeab3d17a35018ca858807f0502d41d90bea227b3 /system/docker-machine/docker-machine.SlackBuild
parentb8f20fb641d8bca93097be110a63e895c9c57355 (diff)
downloadslackbuilds-ce113e52e4a47102b3b6cfc2092e66684787c33c.tar.gz
slackbuilds-ce113e52e4a47102b3b6cfc2092e66684787c33c.tar.xz
system/docker-machine: Updated for version 0.12.2.
Signed-off-by: Audrius Ka┼żukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/docker-machine/docker-machine.SlackBuild')
-rw-r--r--system/docker-machine/docker-machine.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/docker-machine/docker-machine.SlackBuild b/system/docker-machine/docker-machine.SlackBuild
index 61c43a2814..a66456d5ce 100644
--- a/system/docker-machine/docker-machine.SlackBuild
+++ b/system/docker-machine/docker-machine.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=docker-machine
SRCNAM=machine
-VERSION=${VERSION:-0.12.1}
-GITHASH=${GITHASH:-c8b17e8}
+VERSION=${VERSION:-0.12.2}
+GITHASH=${GITHASH:-9371605}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ find -L . \
# Patch git hash to be displayed in version output.
sed -i "/GitCommit =/ s/HEAD/${GITHASH}/" version/version.go
-mkdir -p build
+mkdir build
mv vendor build/src
ln -sf $TMP/$SRCNAM-$VERSION build/src/github.com/docker/machine
@@ -69,8 +69,10 @@ make build \
GOPATH=$TMP/$SRCNAM-$VERSION/build
# Completion.
-install -D -m 0644 contrib/completion/bash/docker-machine.bash $PKG/usr/share/bash-completion/completions/docker-machine
-install -D -m 0644 contrib/completion/zsh/_docker-machine $PKG/usr/share/zsh/site-functions/_docker-machine
+install -D -m 0644 contrib/completion/bash/docker-machine.bash \
+ $PKG/usr/share/bash-completion/completions/docker-machine
+install -D -m 0644 contrib/completion/zsh/_docker-machine \
+ $PKG/usr/share/zsh/site-functions/_docker-machine
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md LICENSE MAINTAINERS README.md $PKG/usr/doc/$PRGNAM-$VERSION