summaryrefslogtreecommitdiff
path: root/games/foobillardplus/foobillardplus.SlackBuild
diff options
context:
space:
mode:
authorRelative <relativ@openmailbox.org>2015-08-15 08:13:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-15 08:15:04 +0700
commit17b83e48f76dcba961757e9ca30321edfcdf5672 (patch)
treed8c7c91e4cee140b84536e75fc3da43ac8fa8826 /games/foobillardplus/foobillardplus.SlackBuild
parente72ea53d62fe6ff575a661041baf146af26ef36b (diff)
downloadslackbuilds-17b83e48f76dcba961757e9ca30321edfcdf5672.tar.gz
games/foobillardplus: Fix missing .desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/foobillardplus/foobillardplus.SlackBuild')
-rw-r--r--games/foobillardplus/foobillardplus.SlackBuild6
1 files changed, 5 insertions, 1 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