mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/unigine-heaven-benchmark: Fixed broken link in /usr/bin
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
3d4684561c
commit
877b806bae
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue