From 5f3dc722d536b32d27eba53c278615b4c5fad57e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 6 Aug 2014 09:39:12 +0700 Subject: graphics/HotShots: Added desktop file. Signed-off-by: Willy Sudiarto Raharjo --- graphics/HotShots/HotShots.SlackBuild | 7 +++++-- graphics/HotShots/hotshots.desktop | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 graphics/HotShots/hotshots.desktop diff --git a/graphics/HotShots/HotShots.SlackBuild b/graphics/HotShots/HotShots.SlackBuild index c867319950..0385ae28ab 100644 --- a/graphics/HotShots/HotShots.SlackBuild +++ b/graphics/HotShots/HotShots.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=HotShots VERSION=${VERSION:-2.1.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -49,7 +49,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd $TMP/$PRGNAM-$VERSION-src/build @@ -75,6 +75,9 @@ mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +mkdir -p $PKG/usr/share/applications +cp -a $CWD/hotshots.desktop $PKG/usr/share/applications/ + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/graphics/HotShots/hotshots.desktop b/graphics/HotShots/hotshots.desktop new file mode 100644 index 0000000000..69ad29de2d --- /dev/null +++ b/graphics/HotShots/hotshots.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=2.0.x +Name=HotShots +Comment=Screenshot manager +Type=Application +GenericName=Screenshot manager +TryExec=hotshots +Exec=hotshots +Categories=Utility;Application;Graphics; +Icon=hotshots +MimeType=application/x-hot; -- cgit v1.2.3