aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/xfce4-screenshooter-plugin/slack-desc4
-rw-r--r--desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.SlackBuild20
-rw-r--r--desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.info6
3 files changed, 17 insertions, 13 deletions
diff --git a/desktop/xfce4-screenshooter-plugin/slack-desc b/desktop/xfce4-screenshooter-plugin/slack-desc
index e47a294c7d112..2b3d591cce3ce 100644
--- a/desktop/xfce4-screenshooter-plugin/slack-desc
+++ b/desktop/xfce4-screenshooter-plugin/slack-desc
@@ -5,8 +5,8 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
-xfce4-screenshooter-plugin: xfce4-screenshooter-plugin (screenshooter plugin for the Xfce panel)
+ |-----handy-ruler----------------------------------|
+xfce4-screenshooter-plugin: screenshooter plugin for the Xfce panel
xfce4-screenshooter-plugin:
xfce4-screenshooter-plugin: The screenshooter plugin adds a panel button
xfce4-screenshooter-plugin: that allows you to take screenshots. It's
diff --git a/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.SlackBuild b/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.SlackBuild
index 45cbbe58c672a..0e2b5c8640928 100644
--- a/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.SlackBuild
+++ b/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-screenshooter-plugin
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xfce4-screenshooter-plugin
-VERSION=1.0.0
+VERSION=1.4.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -45,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -58,17 +60,19 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--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 $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
diff --git a/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.info b/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.info
index 06c143483ea4f..6a116580114a3 100644
--- a/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.info
+++ b/desktop/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="xfce4-screenshooter-plugin"
-VERSION="1.0.0"
+VERSION="1.4.0"
HOMEPAGE="http://goodies.xfce.org/"
-DOWNLOAD="http://goodies.xfce.org/releases/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin-1.0.0.tar.bz2"
-MD5SUM="d12746c635eb28207161a3da1585aa75"
+DOWNLOAD="http://goodies.xfce.org/releases/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin-1.4.0.tar.gz"
+MD5SUM="f12af1a7b809e887b530ade3d7042caa"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Erik Hanson"