diff options
author | ponce <matteo.bernardini@gmail.com> | 2011-12-27 01:18:52 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-27 10:15:24 -0600 |
commit | b26c359f42536ffd415a62abbf5680fb04a64e70 (patch) | |
tree | 07d5309d82e37a3656c9a30fab2566fed0ff3480 /libraries/libfm/libfm.SlackBuild | |
parent | 4604f24d5cd339a994b3d705bf88ac54a9ee4a1c (diff) | |
download | slackbuilds-b26c359f42536ffd415a62abbf5680fb04a64e70.tar.gz |
libraries/libfm: Updated for version 0.1.17
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/libfm.SlackBuild')
-rw-r--r-- | libraries/libfm/libfm.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild index 9b55d14ce9..efcc051c75 100644 --- a/libraries/libfm/libfm.SlackBuild +++ b/libraries/libfm/libfm.SlackBuild @@ -21,9 +21,11 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# slightly modified by ponce <matteo.bernardini@gmail.com> PRGNAM=libfm -VERSION=${VERSION:-20110316_c604674} +VERSION=${VERSION:-0.1.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,14 +80,22 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --enable-udisks \ - --disable-debug \ - --disable-static \ + --enable-udisks=yes \ + --enable-static=no \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG +# add handlers for terminal and archiver from LXDE components to the default config +sed -i -e 's|\[ui\]|terminal=lxterminal -e %s\narchiver=xarchiver %s\n\n[ui]|' \ + $PKG/etc/xdg/libfm/libfm.conf +# add them also for web browser and mail client using those of Slackware +sed -i -e 's|^WebBrowser=.*|WebBrowser=mozilla-firefox.desktop|' \ + $PKG/etc/xdg/libfm/pref-apps.conf +sed -i -e 's|^MailClient=.*|MailClient=mozilla-thunderbird.desktop|' \ + $PKG/etc/xdg/libfm/pref-apps.conf + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION @@ -94,6 +104,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \; 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} |