diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-09 15:59:15 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-09 15:59:15 -0400 |
commit | d7fee3782f44acc0ee5ba20c7882d5e32b669dd6 (patch) | |
tree | 7e4d34b9fd80e10f01047a75d8724aee643adf3f /system/docker-machine-kvm | |
parent | f0cc4f03068869d8de26b3e3c694af2577622e6a (diff) |
system/docker-machine-kvm: Strip binary.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/docker-machine-kvm')
-rw-r--r-- | system/docker-machine-kvm/docker-machine-kvm.SlackBuild | 9 |
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 |