graphics/HotShots: Added desktop file.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-08-06 09:39:12 +07:00
parent a225fbedfb
commit 5f3dc722d5
2 changed files with 16 additions and 2 deletions

View file

@ -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

View file

@ -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;