diff options
author | Dario Nicodemi <dario.sbo@gmail.com> | 2016-08-17 23:36:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:49:48 +0700 |
commit | eb41f4e708c7e9c6cc8eb9a147d42f7eb69d9d0f (patch) | |
tree | b593e9883c42e097e6fdd5b458f74dd7017cc9be | |
parent | ac23335a6a657ba2391b028bcb394e97d92dc76c (diff) |
development/squirrel-sql: Updated for version 3.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/squirrel-sql/squirrel-sql.SlackBuild | 17 | ||||
-rw-r--r-- | development/squirrel-sql/squirrel-sql.info | 6 |
2 files changed, 10 insertions, 13 deletions
diff --git a/development/squirrel-sql/squirrel-sql.SlackBuild b/development/squirrel-sql/squirrel-sql.SlackBuild index 94a3836e4d41..a5d6912fc3c8 100644 --- a/development/squirrel-sql/squirrel-sql.SlackBuild +++ b/development/squirrel-sql/squirrel-sql.SlackBuild @@ -5,7 +5,7 @@ # Written by Dario Nicodemi dario.sbo@gmail.com PRGNAM=squirrel-sql -VERSION=${VERSION:-3.5.0} +VERSION=${VERSION:-3.7.1} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,12 +17,13 @@ OUTPUT=${OUTPUT:-/tmp} set -e +DISTNAME=squirrelsql rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION-optional -tar xvf $CWD/$PRGNAM-$VERSION-optional.tar.gz -mv $PRGNAM-$VERSION-optional $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION $DISTNAME-$VERSION-optional +unzip $CWD/$DISTNAME-$VERSION-optional.zip +mv $DISTNAME-$VERSION-optional $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -33,7 +34,7 @@ find -L . \ mkdir -p $PKG/opt/$PRGNAM cp -r . $PKG/opt/$PRGNAM -rm -rf $PKG/opt/$PRGNAM/{Uninstaller,update,addpath.bat,squirrel-sql.bat} +rm -rf $PKG/opt/$PRGNAM/{addpath.bat,squirrel-sql.bat} mkdir -p $PKG/usr/bin cat <<EOF > $PKG/usr/bin/squirrel-sql #!/bin/sh @@ -47,11 +48,7 @@ cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png # Move doc to standard location + create symlink -mkdir -p $PKG/usr/doc -mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION -cd $PKG/opt/$PRGNAM - ln -s ../../usr/doc/$PRGNAM-$VERSION doc -cd - +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/squirrel-sql/squirrel-sql.info b/development/squirrel-sql/squirrel-sql.info index d5ee32d84bea..4cd17a4f90d8 100644 --- a/development/squirrel-sql/squirrel-sql.info +++ b/development/squirrel-sql/squirrel-sql.info @@ -1,8 +1,8 @@ PRGNAM="squirrel-sql" -VERSION="3.5.0" +VERSION="3.7.1" HOMEPAGE="http://squirrel-sql.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/squirrel-sql/squirrel-sql-3.5.0-optional.tar.gz" -MD5SUM="e3aeb4aa5437cdee706c7f7ee3babc79" +DOWNLOAD="http://downloads.sourceforge.net/project/squirrel-sql/1-stable/3.7.1-plainzip/squirrelsql-3.7.1-optional.zip" +MD5SUM="13d65b769e6c0dd6b8876a26ecd85d3a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jdk" |