aboutsummaryrefslogtreecommitdiff
path: root/desktop/thunar-archive-plugin
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:23:13 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:23:13 +0200
commit70b1be95595abaaed95d94b45aea88a9813d491f (patch)
treedefc357d81421a802ba9fc635ba1d489b7f1a36c /desktop/thunar-archive-plugin
parentc55972010e814a1e9b1424f6da5204f0d92bc4da (diff)
desktop/thunar-archive-plugin: Updated for version 0.2.4
Diffstat (limited to 'desktop/thunar-archive-plugin')
-rw-r--r--desktop/thunar-archive-plugin/README2
-rw-r--r--desktop/thunar-archive-plugin/doinst.sh6
-rw-r--r--desktop/thunar-archive-plugin/slack-desc8
-rw-r--r--desktop/thunar-archive-plugin/thunar-archive-plugin.SlackBuild26
-rw-r--r--desktop/thunar-archive-plugin/thunar-archive-plugin.info2
5 files changed, 31 insertions, 13 deletions
diff --git a/desktop/thunar-archive-plugin/README b/desktop/thunar-archive-plugin/README
index f3ae7ee1c7f2c..d9ab5e8c0fdb7 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 0000000000000..30eb690936b52
--- /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 55334796374e5..4373fb8147205 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 0f25c69afe827..c99a6257a3ae3 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 7d6ef63cca5fb..491025a55a563 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}"