aboutsummaryrefslogtreecommitdiff
path: root/system/unigine-heaven-benchmark
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2021-08-01 03:24:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:54 -0500
commit877b806bae0dbeb9fb85b068d86106c7dfafc033 (patch)
treed6eb98fe45c566716bbf61607d35d0561f1ffcd6 /system/unigine-heaven-benchmark
parent3d4684561c7224e358033be039be52dd8bdc00b6 (diff)
system/unigine-heaven-benchmark: Fixed broken link in /usr/bin
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/unigine-heaven-benchmark')
-rw-r--r--system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild6
-rw-r--r--system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
index 2693f7ad66cf8..1d343a7bca139 100644
--- a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
+++ b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.SlackBuild
@@ -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
diff --git a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
index c28649c996066..8c7927858e401 100644
--- a/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
+++ b/system/unigine-heaven-benchmark/unigine-heaven-benchmark.desktop
@@ -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;