diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2014-09-10 07:54:46 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-10 22:16:36 +0700 |
commit | 3f487d90ae13866d6a2234e1d574c7662732f061 (patch) | |
tree | b34c037a19494417c60912c6597496fd9e36e254 /development/sqlitebrowser/sqlitebrowser.SlackBuild | |
parent | 41b874cd7822bb516a2afd0d881cd7ff504a4d9f (diff) | |
download | slackbuilds-3f487d90ae13866d6a2234e1d574c7662732f061.tar.gz |
development/sqlitebrowser: updated for version 3.3.1
Diffstat (limited to 'development/sqlitebrowser/sqlitebrowser.SlackBuild')
-rw-r--r-- | development/sqlitebrowser/sqlitebrowser.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/development/sqlitebrowser/sqlitebrowser.SlackBuild b/development/sqlitebrowser/sqlitebrowser.SlackBuild index e5e1cc1d10..6b6a41af0e 100644 --- a/development/sqlitebrowser/sqlitebrowser.SlackBuild +++ b/development/sqlitebrowser/sqlitebrowser.SlackBuild @@ -25,8 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sqlitebrowser -SRCNAM=sqlb -VERSION=${VERSION:-3.2.0} +VERSION=${VERSION:-3.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,9 +47,9 @@ set -eu 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/$PRGNAM-$SRCNAM-$VERSION.tar.gz -cd $PRGNAM-$SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -63,7 +62,7 @@ make LINK="g++ -ldl" mkdir -p $PKG/usr/bin cp src/$PRGNAM $PKG/usr/bin/ -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |