summaryrefslogtreecommitdiff
path: root/graphics/qtpfsgui/qtpfsgui.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <nobbutl@yahoo.co.uk>2010-05-13 00:28:13 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:28:13 +0200
commit3fa7be792455d01a68b989411aa97bb31408b6e9 (patch)
tree61451fad5edeb7037b0898a44975eb35940a3b77 /graphics/qtpfsgui/qtpfsgui.SlackBuild
parentf10fe76bc70bddb7754a1baa08bbad021191cc4e (diff)
downloadslackbuilds-3fa7be792455d01a68b989411aa97bb31408b6e9.tar.gz
graphics/qtpfsgui: Updated for version 1.9.2
Diffstat (limited to 'graphics/qtpfsgui/qtpfsgui.SlackBuild')
-rw-r--r--graphics/qtpfsgui/qtpfsgui.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/qtpfsgui/qtpfsgui.SlackBuild b/graphics/qtpfsgui/qtpfsgui.SlackBuild
index c8aa086a97..044d69815d 100644
--- a/graphics/qtpfsgui/qtpfsgui.SlackBuild
+++ b/graphics/qtpfsgui/qtpfsgui.SlackBuild
@@ -17,10 +17,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
@@ -38,7 +41,7 @@ chmod -R u+w,go+r-w,a-s .
cat $CWD/qtpfsgui-1.9.2-trunk.patch | patch -p2
lrelease project.pro
-qmake-qt4 \
+qmake \
INSTALL_ROOT=$PKG \
PREFIX=/usr \
QMAKE_CFLAGS="$SLKCFLAGS" \
@@ -60,4 +63,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}