summaryrefslogtreecommitdiff
path: root/system/qtfm/qtfm.SlackBuild
diff options
context:
space:
mode:
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 3daf6c5e5e..4101886d0c 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" \