aboutsummaryrefslogtreecommitdiff
path: root/system/qtfm/qtfm.SlackBuild
diff options
context:
space:
mode:
authorBojan Popovic <bocke@mycity.rs>2012-11-20 12:10:55 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-20 12:10:55 -0600
commitf1abc051321f9734209483f849bcbc7137bbdffd (patch)
tree178c79a38e836b1d36ab430c0f72b9bd45cc13bd /system/qtfm/qtfm.SlackBuild
parent1f0744a911aa591d1c83283c009ebfb588ebaead (diff)
system/qtfm: Updated for version 5.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/qtfm/qtfm.SlackBuild')
-rw-r--r--system/qtfm/qtfm.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/qtfm/qtfm.SlackBuild b/system/qtfm/qtfm.SlackBuild
index 3daf6c5e5ef51..4101886d0c919 100644
--- a/system/qtfm/qtfm.SlackBuild
+++ b/system/qtfm/qtfm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qtFM
-# Copyright 2011 Bojan Popovic, Belgrade, Serbia <bocke@mycity.rs>
+# Copyright 2011, 2012, Bojan Popovic, Belgrade, Serbia <bocke@slackware-srbija.org>
# 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=qtfm
-VERSION=${VERSION:-5.3}
+VERSION=${VERSION:-5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,9 +70,11 @@ find . \
-exec chmod 644 {} \;
# Set doc path to /usr/doc/$PRGNAM-$VERSION in qtfm.pro
-sed -i "s/usr\/share\/doc\/$PRGNAM/usr\/doc\/$PRGNAM-$VERSION/" qtfm.pro
+sed -i "s,usr/share/doc/$PRGNAM,usr/doc/$PRGNAM-$VERSION," qtfm.pro
+
+# Commented out by rworkman -- why is this a good idea?
# Set share path to /usr/share/$PRGNAM-$VERSION in qtfm.pro and main.cpp
-sed -i "s/usr\/share\/$PRGNAM/usr\/share\/$PRGNAM-$VERSION/" qtfm.pro src/main.cpp
+# sed -i "s,usr/share/$PRGNAM,usr/share/$PRGNAM-$VERSION," qtfm.pro src/main.cpp
qmake \
QMAKE_CFLAGS="$SLKCFLAGS" \