diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-01-10 15:08:22 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:20:57 -0600 |
commit | 48aa50a26a4ea324fd695f315b2580d863caa1ae (patch) | |
tree | 2369a1992350260adc36cd8e449483e942035149 /multimedia/mp3fm/mp3fm.SlackBuild | |
parent | 4feab123dc5b3048db3ce321a1c29f2990bc7dda (diff) |
multimedia/mp3fm: Added icon + desktop shortcut.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mp3fm/mp3fm.SlackBuild')
-rw-r--r-- | multimedia/mp3fm/mp3fm.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/multimedia/mp3fm/mp3fm.SlackBuild b/multimedia/mp3fm/mp3fm.SlackBuild index 1538249d5aab8..240744133d2c2 100644 --- a/multimedia/mp3fm/mp3fm.SlackBuild +++ b/multimedia/mp3fm/mp3fm.SlackBuild @@ -71,6 +71,12 @@ find -L . \ python setup.py install --root=$PKG +mkdir -p $PKG/usr/share/applications +install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop + +mkdir -p $PKG/usr/share/pixmaps/ +install -D -m644 $CWD/mp3fm.jpg $PKG/usr/share/pixmaps/mp3fm.jpg + 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 @@ -80,6 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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} |