diff options
author | JK Wood <joshuakwood@gmail.com> | 2014-07-21 19:16:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-07-21 19:16:02 +0700 |
commit | 1d9201b467118a821fbcafc4e4217ed4ec3927ce (patch) | |
tree | 9ee821812b622a101ff32a430065fcc07ee268e0 /ham/linpsk/linpsk.SlackBuild | |
parent | 58c99c5ce44a845c6b7871592d4bcdbd60bfeeb3 (diff) |
ham/linpsk: Added desktop file and icon.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham/linpsk/linpsk.SlackBuild')
-rw-r--r-- | ham/linpsk/linpsk.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ham/linpsk/linpsk.SlackBuild b/ham/linpsk/linpsk.SlackBuild index 5b6ec0331113..43051a6da484 100644 --- a/ham/linpsk/linpsk.SlackBuild +++ b/ham/linpsk/linpsk.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=linpsk VERSION=${VERSION:-1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -73,6 +73,12 @@ make mkdir -p $PKG/usr/bin install -m 755 bin/linpsk $PKG/usr/bin/ +mkdir -p $PKG/usr/share/applications +install -m 644 $CWD/linpsk.desktop $PKG/usr/share/applications + +mkdir -p $PKG/usr/share/pixmaps +install -m 644 images/linpsk.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 @@ -84,6 +90,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} |