summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/HotShots/HotShots.SlackBuild7
-rw-r--r--graphics/HotShots/hotshots.desktop11
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;