diff options
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 5b6ec03311..43051a6da4 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} |