aboutsummaryrefslogtreecommitdiff
path: root/desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild')
-rw-r--r--desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild b/desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild
index a880c3b63268..16295793a351 100644
--- a/desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild
+++ b/desktop/QtCurve-KDE3/QtCurve-KDE3.SlackBuild
@@ -1,8 +1,7 @@
#!/bin/sh
# Slackware build script for: QtCurve-KDE3
-
-# Copyright 2007-2008 Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
+# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QtCurve-KDE3
-VERSION=0.57.1
+VERSION=0.59.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,12 +34,12 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="COPYING ChangeLog README TODO"
-
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -72,9 +71,8 @@ make install VERBOSE=1 DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc