From 70b1be95595abaaed95d94b45aea88a9813d491f Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 13 May 2010 00:23:13 +0200 Subject: desktop/thunar-archive-plugin: Updated for version 0.2.4 --- desktop/thunar-archive-plugin/README | 2 -- desktop/thunar-archive-plugin/doinst.sh | 6 +++++ desktop/thunar-archive-plugin/slack-desc | 8 +++---- .../thunar-archive-plugin.SlackBuild | 26 ++++++++++++++++------ .../thunar-archive-plugin.info | 2 ++ 5 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 desktop/thunar-archive-plugin/doinst.sh (limited to 'desktop') diff --git a/desktop/thunar-archive-plugin/README b/desktop/thunar-archive-plugin/README index f3ae7ee1c7..d9ab5e8c0f 100644 --- a/desktop/thunar-archive-plugin/README +++ b/desktop/thunar-archive-plugin/README @@ -1,5 +1,3 @@ -Thunar Archive Plugin for Xfce's Thunar File Manager - The thunar-archive-plugin is a plugin for the Thunar File Manager, which adds archive operations to the file context menus. Using this plugin you will be able to extract and create archive files from within Thunar with diff --git a/desktop/thunar-archive-plugin/doinst.sh b/desktop/thunar-archive-plugin/doinst.sh new file mode 100644 index 0000000000..30eb690936 --- /dev/null +++ b/desktop/thunar-archive-plugin/doinst.sh @@ -0,0 +1,6 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/desktop/thunar-archive-plugin/slack-desc b/desktop/thunar-archive-plugin/slack-desc index 5533479637..4373fb8147 100644 --- a/desktop/thunar-archive-plugin/slack-desc +++ b/desktop/thunar-archive-plugin/slack-desc @@ -13,7 +13,7 @@ thunar-archive-plugin: File Manager, which adds archive operations to the thunar-archive-plugin: file context menus. Using this plugin you will be able thunar-archive-plugin: to extract and create archive files from within Thunar thunar-archive-plugin: with a a single click. -thunar-archive-plugin: -thunar-archive-plugin: -thunar-archive-plugin: -thunar-archive-plugin: +thunar-archive-plugin: +thunar-archive-plugin: +thunar-archive-plugin: +thunar-archive-plugin: diff --git a/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild b/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild index 0f25c69afe..c99a6257a3 100644 --- a/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild +++ b/desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for thunar-archive-plugin -# Copyright 2006-2007 Robby Workman (http://rlworkman.net) +# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -58,25 +63,32 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc/xfce \ --enable-shared=yes \ --enable-static=no \ - --enable-debug=no + --enable-debug=no \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ + $PKG/usr/doc/$PRGNAM-$VERSION 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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/thunar-archive-plugin/thunar-archive-plugin.info b/desktop/thunar-archive-plugin/thunar-archive-plugin.info index 7d6ef63cca..491025a55a 100644 --- a/desktop/thunar-archive-plugin/thunar-archive-plugin.info +++ b/desktop/thunar-archive-plugin/thunar-archive-plugin.info @@ -2,7 +2,9 @@ PRGNAM="thunar-archive-plugin" VERSION="0.2.4" HOMEPAGE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html" DOWNLOAD="http://download.berlios.de/xfce-goodies/thunar-archive-plugin-0.2.4.tar.bz2" +DOWNLOAD_x86_64="" MD5SUM="4c389e6328af9322937af76382f0baec" +MD5SUM_x86_64="" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" APPROVED="BP{k}" -- cgit v1.2.3