summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Relative <relativ@openmailbox.org>2015-08-15 08:13:37 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-15 08:15:04 +0700
commit17b83e48f76dcba961757e9ca30321edfcdf5672 (patch)
treed8c7c91e4cee140b84536e75fc3da43ac8fa8826 /games
parente72ea53d62fe6ff575a661041baf146af26ef36b (diff)
downloadslackbuilds-17b83e48f76dcba961757e9ca30321edfcdf5672.tar.gz
slackbuilds-17b83e48f76dcba961757e9ca30321edfcdf5672.tar.xz
games/foobillardplus: Fix missing .desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/foobillardplus/foobillardplus.SlackBuild6
-rw-r--r--games/foobillardplus/foobillardplus.desktop2
2 files changed, 6 insertions, 2 deletions
diff --git a/games/foobillardplus/foobillardplus.SlackBuild b/games/foobillardplus/foobillardplus.SlackBuild
index 2fb56a002e..e49e989d54 100644
--- a/games/foobillardplus/foobillardplus.SlackBuild
+++ b/games/foobillardplus/foobillardplus.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=foobillardplus
VERSION=${VERSION:-3.43beta}
SRCVERSION=${SRCVERSION:-170}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -86,6 +86,10 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
+
+# copy missing .desktop file
+cp $CWD/$PRGNAM.desktop .
+
make install DESTDIR=$PKG \
datadir=$PKG/usr/games/$PRGNAM/data \
datarootdir=$PKG/usr/games/$PRGNAM/data
diff --git a/games/foobillardplus/foobillardplus.desktop b/games/foobillardplus/foobillardplus.desktop
index d0f9f043fd..d45ea2e4dc 100644
--- a/games/foobillardplus/foobillardplus.desktop
+++ b/games/foobillardplus/foobillardplus.desktop
@@ -3,7 +3,7 @@ Encoding=UTF-8
Name=FooBillard++
GenericName=OpenGL billard game
Comment=Free OpenGL billard game for Linux
-Exec=foobillard
+Exec=foobillardplus
Icon=foobillardplus
Terminal=false
Type=Application