mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
graphics/HotShots: Added desktop file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a225fbedfb
commit
5f3dc722d5
2 changed files with 16 additions and 2 deletions
|
@ -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
|
||||
|
|
11
graphics/HotShots/hotshots.desktop
Normal file
11
graphics/HotShots/hotshots.desktop
Normal 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;
|
Loading…
Reference in a new issue