system/unigine-heaven-benchmark: Fixed broken link in /usr/bin

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
M.Dinslage 2021-08-01 03:24:32 -05:00 committed by Robby Workman
parent 3d4684561c
commit 877b806bae
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unigine-heaven-benchmark
VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,10 +83,10 @@ find -L . \
# copy excutable
mkdir -p $PKG/usr/bin
cp $PKG/opt/$PRGNAM/heaven $PKG/usr/bin
cp $PKG/opt/$PRGNAM/heaven $PKG/usr/bin/unigine-heaven-benchmark
# fix excutable
sed -i 's,./bin,/opt/unigine-heaven-benchmark/bin,g' $PKG/usr/bin/heaven
sed -i 's,cd ./bin,cd /opt/unigine-heaven-benchmark/bin,g' $PKG/usr/bin/unigine-heaven-benchmark
#add application launcher
mkdir -p $PKG/usr/share/applications

View file

@ -1,7 +1,7 @@
[Desktop Entry]
Name=unigine-heaven-benchmark
GenericName=System benchmarking software
Exec=heaven
Exec=unigine-heaven-benchmark
Terminal=false
Type=Application
Categories=Game;