summaryrefslogtreecommitdiff
path: root/development/sqlitebrowser/sqlitebrowser.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-08-16 20:27:02 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-21 21:19:11 +0700
commit6cafd5c3c0529e4ca3c5654b86e35a9c1571769d (patch)
tree211463d13443fc853660ca44c7ca94f8ba4b4b76 /development/sqlitebrowser/sqlitebrowser.SlackBuild
parent1479449e709259cc21bcabb4cf255b6e8d1f79f8 (diff)
downloadslackbuilds-6cafd5c3c0529e4ca3c5654b86e35a9c1571769d.tar.gz
development/sqlitebrowser: updated for version 3.2.0
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"