summaryrefslogtreecommitdiffstats
path: root/business/binance-desktop/binance-desktop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'business/binance-desktop/binance-desktop.SlackBuild')
-rw-r--r--business/binance-desktop/binance-desktop.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/business/binance-desktop/binance-desktop.SlackBuild b/business/binance-desktop/binance-desktop.SlackBuild
index 57366d3ab7..9fddcdb451 100644
--- a/business/binance-desktop/binance-desktop.SlackBuild
+++ b/business/binance-desktop/binance-desktop.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=binance-desktop
SRCNAM=binance
-VERSION=${VERSION:-1.35.0}
+VERSION=${VERSION:-1.36.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,12 @@ cp -ap {opt,usr} $PKG/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+#Set command line
+mkdir -p $PKG/usr/bin
+echo "#!/bin/bash" > $PKG/usr/bin/$PRGNAM
+echo "exec /opt/Binance/binance" >> $PKG/usr/bin/$PRGNAM
+chmod +x $PKG/usr/bin/$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PKG/opt/Binance/LICENSE.electron.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/LICENSE