summaryrefslogtreecommitdiffstats
path: root/system/docker-machine/docker-machine.SlackBuild
diff options
context:
space:
mode:
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