summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2021-08-01 03:26:19 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:54 -0500
commitc1c233714d67f8f1868bddda63992b7d4cfe2c31 (patch)
treefde8c40204d5efd398b7ba94d655db4b30f0e19d
parent877b806bae0dbeb9fb85b068d86106c7dfafc033 (diff)
downloadslackbuilds-c1c233714d67f8f1868bddda63992b7d4cfe2c31.tar.gz
system/unigine-valley-benchmark: Fixed broken link in /usr/bin
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/unigine-valley-benchmark/unigine-valley-benchmark.SlackBuild6
-rw-r--r--system/unigine-valley-benchmark/unigine-valley-benchmark.desktop2
2 files changed, 4 insertions, 4 deletions
diff --git a/system/unigine-valley-benchmark/unigine-valley-benchmark.SlackBuild b/system/unigine-valley-benchmark/unigine-valley-benchmark.SlackBuild
index 7c6010dc04..4e99c2cbb6 100644
--- a/system/unigine-valley-benchmark/unigine-valley-benchmark.SlackBuild
+++ b/system/unigine-valley-benchmark/unigine-valley-benchmark.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unigine-valley-benchmark
VERSION=${VERSION:-1.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/valley $PKG/usr/bin
+cp $PKG/opt/$PRGNAM/valley $PKG/usr/bin/unigine-valley-benchmark
# fix excutable
-sed -i 's,./bin,/opt/unigine-valley-benchmark/bin,g' $PKG/usr/bin/valley
+sed -i 's,cd ./bin,cd /opt/unigine-valley-benchmark/bin,g' $PKG/usr/bin/unigine-valley-benchmark
#add application launcher
mkdir -p $PKG/usr/share/applications
diff --git a/system/unigine-valley-benchmark/unigine-valley-benchmark.desktop b/system/unigine-valley-benchmark/unigine-valley-benchmark.desktop
index f67847e9d3..9a50aadb38 100644
--- a/system/unigine-valley-benchmark/unigine-valley-benchmark.desktop
+++ b/system/unigine-valley-benchmark/unigine-valley-benchmark.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=unigine-valley-benchmark
GenericName=System benchmarking software
-Exec=valley
+Exec=unigine-valley-benchmark
Terminal=false
Type=Application
Categories=Game;