From 5a8d17cd113de0c7d342edb6f7e17b9bddc800fb Mon Sep 17 00:00:00 2001 From: JK Wood Date: Fri, 18 Jul 2014 11:06:28 +0700 Subject: [PATCH] ham/xpsk31: Added desktop file and icon. Signed-off-by: Willy Sudiarto Raharjo --- ham/xpsk31/doinst.sh | 3 +++ ham/xpsk31/xpsk31.SlackBuild | 8 +++++++- ham/xpsk31/xpsk31.desktop | 11 +++++++++++ ham/xpsk31/xpsk31.png | Bin 0 -> 6628 bytes 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 ham/xpsk31/doinst.sh create mode 100644 ham/xpsk31/xpsk31.desktop create mode 100644 ham/xpsk31/xpsk31.png diff --git a/ham/xpsk31/doinst.sh b/ham/xpsk31/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/ham/xpsk31/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/ham/xpsk31/xpsk31.SlackBuild b/ham/xpsk31/xpsk31.SlackBuild index 7d9eca9556..250bd6dd4d 100644 --- a/ham/xpsk31/xpsk31.SlackBuild +++ b/ham/xpsk31/xpsk31.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=xpsk31 VERSION=${VERSION:-2.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -86,6 +86,11 @@ make install DESTDIR=$PKG mkdir -p $PKG/usr/share/$PRGNAM-$VERSION install -m 644 xpsk31/xpsk31rc $PKG/usr/share/$PRGNAM-$VERSION +mkdir -p $PKG/usr/share/applications +mkdir -p $PKG/usr/share/pixmaps +install -m 644 $CWD/xpsk31.desktop $PKG/usr/share/applications +install -m 644 $CWD/xpsk31.png $PKG/usr/share/pixmaps + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -97,6 +102,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG${PKGTYPE:-.tgz} diff --git a/ham/xpsk31/xpsk31.desktop b/ham/xpsk31/xpsk31.desktop new file mode 100644 index 0000000000..6f6196784e --- /dev/null +++ b/ham/xpsk31/xpsk31.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=xpsk31 +GenericName=xpsk31 +Comment=GTK+ graphical version of lpsk31 +Exec=xpsk31 +Icon=xpsk31 +Terminal=false +Type=Application +Categories=Network;HamRadio; +Version=1.0 diff --git a/ham/xpsk31/xpsk31.png b/ham/xpsk31/xpsk31.png new file mode 100644 index 0000000000000000000000000000000000000000..91574d68ccdc34a3648973087e917b8ae43dee47 GIT binary patch literal 6628 zcmai32UJtp)(!+ns7XKwO;WJXq!*PEN@yZd1VjNzBBCfIfTPkv2_+DbfR08%5yTl0 zK@deykdg>NRKNm37%9?0P>^2o5`AwC^LW4iSu4q1S@)d%eS3dr?|sirbv|G#E+Q`i z006}8?Xa%g-#Fd}EX4h0nBiLh0J$Q2tcBb89KtGxg8`b=`P1GcGSh7d#(LV^p{p&+ z5LnmKzKd#Bo=^~c&&Q#$pWOO>cw1SG-DHv&chqXW!gi4Pxa$Ep9QpJDn8d#?9RbRU zKQ9SPcfnG*0!G^Gl3jzx=y;;QV!sfp#ZJ3{y?;MhD`>5$aV5h?>2xJB6)$QK80nm} z{u!FmOb8dVoSeo8tSnJGIdZbHvSy_923FiwMe^HJ?Ra0f|0l~s0zb`0m+6a)@>udP z{B78>ke`+oBV=RK7|w&r;c!NhQzP~sW_+*_jMC-t1B=eQtG`wNq}Q&aq_a8e%JNK3 z-T;TT%9%!Fne6(0?2@gn)ZtwX(TX$9YttA~0`&{~oY)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