summaryrefslogtreecommitdiffstats
path: root/source/l/QScintilla
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/QScintilla')
-rwxr-xr-xsource/l/QScintilla/QScintilla.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/l/QScintilla/QScintilla.SlackBuild b/source/l/QScintilla/QScintilla.SlackBuild
index e72b5ae7a..b36235872 100755
--- a/source/l/QScintilla/QScintilla.SlackBuild
+++ b/source/l/QScintilla/QScintilla.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for QScintilla
# Copyright 2008 Robby Workman <rworkman@slackware.com> Northport, AL, USA
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-2.4.3}
-BUILD=${BUILD:-1}
+PKGNAM=QScintilla
+VERSION=${VERSION:-$(echo ${PKGNAM}-gpl-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-2}
CWD=$(pwd)
TMP=${TMP:-/tmp}
@@ -64,7 +65,7 @@ find . \
-exec chmod 644 {} \;
cd Qt4
- qmake -unix -o Makefile qscintilla.pro
+ qmake -o Makefile qscintilla.pro
make
make install INSTALL_ROOT=$PKG
# Yes, we'll spam the dev environment so we can build the other parts.
@@ -72,7 +73,7 @@ cd Qt4
cd -
cd designer-Qt4
- qmake -unix -o Makefile designer.pro
+ qmake -o Makefile designer.pro
make
make install INSTALL_ROOT=$PKG
cd -