diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-06 09:39:12 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-06 09:39:12 +0700 |
commit | 5f3dc722d536b32d27eba53c278615b4c5fad57e (patch) | |
tree | 74d4bce3b27cec1e280103bfd7ffb1b08bc5bef6 | |
parent | a225fbedfbbc7e253bcc74cd5441014f9de84137 (diff) | |
download | slackbuilds-5f3dc722d536b32d27eba53c278615b4c5fad57e.tar.gz |
graphics/HotShots: Added desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/HotShots/HotShots.SlackBuild | 7 | ||||
-rw-r--r-- | graphics/HotShots/hotshots.desktop | 11 |
2 files changed, 16 insertions, 2 deletions
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; |