summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2017-11-11 19:23:28 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-18 12:40:18 +0700
commitf642ba4c3e4549413cdea0cc182f023f77faf179 (patch)
tree3fe55f6d0842bb0f27f738fca2d27f1734268442 /games
parent9f9c13306046d81062bdb106a12f2e66b17a4a68 (diff)
downloadslackbuilds-f642ba4c3e4549413cdea0cc182f023f77faf179.tar.gz
games/tome-sx: Add .desktop.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/tome-sx/tome-sx.SlackBuild3
-rw-r--r--games/tome-sx/tome-sx.desktop8
-rw-r--r--games/tome-sx/tome-sx.pngbin0 -> 603 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/games/tome-sx/tome-sx.SlackBuild b/games/tome-sx/tome-sx.SlackBuild
index abb6c4086b..c12eed96ff 100644
--- a/games/tome-sx/tome-sx.SlackBuild
+++ b/games/tome-sx/tome-sx.SlackBuild
@@ -88,6 +88,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG -name "delete.me" | xargs rm -f
find $PKG -name ".cvsignore" | xargs rm -f
+install -m 0644 -D $CWD/tome-sx.png $PKG/usr/share/pixmaps/tome-sx.png
+install -m 0644 -D $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
changes.txt copying.txt credits.txt LICENSE README.md lib/help \
diff --git a/games/tome-sx/tome-sx.desktop b/games/tome-sx/tome-sx.desktop
new file mode 100644
index 0000000000..90bd6c5f5e
--- /dev/null
+++ b/games/tome-sx/tome-sx.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=ToME-sx
+Comment=Dive into Arda and defeat Morgoth
+Exec=tome-sx
+Terminal=true
+Type=Application
+Categories=Game;
+Icon=tome-sx
diff --git a/games/tome-sx/tome-sx.png b/games/tome-sx/tome-sx.png
new file mode 100644
index 0000000000..ee931a91ee
--- /dev/null
+++ b/games/tome-sx/tome-sx.png
Binary files differ