summaryrefslogtreecommitdiff
path: root/development/sqlitebrowser/sqlitebrowser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/sqlitebrowser/sqlitebrowser.SlackBuild')
-rw-r--r--development/sqlitebrowser/sqlitebrowser.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/sqlitebrowser/sqlitebrowser.SlackBuild b/development/sqlitebrowser/sqlitebrowser.SlackBuild
index 38df227827..e5e1cc1d10 100644
--- a/development/sqlitebrowser/sqlitebrowser.SlackBuild
+++ b/development/sqlitebrowser/sqlitebrowser.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for sqlitebrowser
-# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
+# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
PRGNAM=sqlitebrowser
SRCNAM=sqlb
-VERSION=${VERSION:-3.1.0}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,14 +49,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCNAM-$VERSION
-tar xvf $CWD/${SRCNAM}-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
qmake
make LINK="g++ -ldl"