aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:23:49 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:23:49 +0200
commitc1f21d6739620d450156d5ad04c50397bd6fd6d9 (patch)
tree994eebe6acbe3da76510a649f6173b4e48c982ca /desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
parent69c1c1e5944c9ec3e2e7fa80dc20982f15da62f8 (diff)
desktop/xfce4-screenshooter: Updated for version 1.6.0
Diffstat (limited to 'desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild')
-rw-r--r--desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
index d430b8496d96a..0ea71d28878fe 100644
--- a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
+++ b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-screenshooter
-# Copyright 2006-2009 Robby Workman Northport, Alabama, USA
+# Copyright 2006-2009 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
-VERSION=1.5.1
+VERSION=1.6.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +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
@@ -60,6 +63,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc/xfce \
--mandir=/usr/man \
--enable-shared=yes \
--enable-static=no \
@@ -92,4 +97,4 @@ 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}