aboutsummaryrefslogtreecommitdiff
path: root/system/docker-machine-kvm
diff options
context:
space:
mode:
Diffstat (limited to 'system/docker-machine-kvm')
-rw-r--r--system/docker-machine-kvm/docker-machine-kvm.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/docker-machine-kvm/docker-machine-kvm.SlackBuild b/system/docker-machine-kvm/docker-machine-kvm.SlackBuild
index a47c0a7f973e..6ae87e612990 100644
--- a/system/docker-machine-kvm/docker-machine-kvm.SlackBuild
+++ b/system/docker-machine-kvm/docker-machine-kvm.SlackBuild
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220409 bkw: Modified by SlackBuilds.org, BUILD=2: strip binary.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=docker-machine-kvm
VERSION=${VERSION:-0.10.0}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -85,7 +84,7 @@ export GO111MODULE="off"
make -C cmd/docker-machine-driver-kvm \
GOPATH=$TMP/$PRGNAM-$VERSION/build
-install -D -m 0755 cmd/docker-machine-driver-kvm/docker-machine-driver-kvm \
+install -D -m 0755 -s cmd/docker-machine-driver-kvm/docker-machine-driver-kvm \
$PKG/usr/bin/docker-machine-driver-kvm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION