diff options
author | Dhaby Xiloj <slack.dhabyx@gmail.com> | 2010-05-12 17:44:42 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:44:42 +0200 |
commit | 47874599e7e1fc274c09c43192aaa41a20ee242b (patch) | |
tree | bf18b3ccea5712b92edf5ee128e5bdd1dd88778c /office/freemind/freemind.SlackBuild | |
parent | c86b95515a424601cf61ff5a417b803ac7b1e88e (diff) |
office/freemind: Updated for version 0.8.1
Diffstat (limited to 'office/freemind/freemind.SlackBuild')
-rw-r--r-- | office/freemind/freemind.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/office/freemind/freemind.SlackBuild b/office/freemind/freemind.SlackBuild index a20f17f4c4a96..21cb07095138e 100644 --- a/office/freemind/freemind.SlackBuild +++ b/office/freemind/freemind.SlackBuild @@ -4,6 +4,7 @@ # Copyright (c) 2008, Dhaby Xiloj <slack.dhabyx@gmail.com> # All rights reserved. +# Thanks to Vincent Batts for mimetype file idea. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -67,11 +68,13 @@ EOF chmod 0755 $PKG/opt/$PRGNAM/freemind.sh chmod 0755 $PKG/usr/bin/$PRGNAM -# Add freemind to KDE/GNOME/XFCE menu and install an icon for them +# Add freemind to KDE/GNOME/XFCE menu and install an icon for theme and mimetype install -D -m 0644 $CWD/$PRGNAM.desktop \ $PKG/usr/share/applications/$PRGNAM.desktop install -D -m 0644 $CWD/freemind.png \ $PKG/usr/share/pixmaps/$PRGNAM.png +install -D -m 0644 $CWD/$PRGNAM.xml \ + $PKG/usr/share/mime/packages/$PRGNAM.xml ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -86,6 +89,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 -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz |