summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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