aboutsummaryrefslogtreecommitdiff
path: root/development/smartsvn
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-22 23:50:38 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-27 13:22:37 +0700
commit5e060899430a7aa0d380d7ecf63110f5176503c4 (patch)
tree0ed899094bf7ddfefa6366e948529b6645445db9 /development/smartsvn
parent80f5ea20d3c4aa8c0d08c9942e5f877863c66509 (diff)
development/smartsvn: Updated for version 9.0.5.
No longer requires registration to download. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/smartsvn')
-rw-r--r--development/smartsvn/README9
-rw-r--r--development/smartsvn/smartsvn.SlackBuild22
-rw-r--r--development/smartsvn/smartsvn.info6
3 files changed, 15 insertions, 22 deletions
diff --git a/development/smartsvn/README b/development/smartsvn/README
index ecbe32b2a983..8b93627b028c 100644
--- a/development/smartsvn/README
+++ b/development/smartsvn/README
@@ -1,7 +1,4 @@
-SmartSvn is a commercial desktop svn client that provides trial edition for
-a limited time (31 days)
+SmartSVN is a commercial desktop svn client.
-Automatically downloading the url included in the .info file may not work as
-they currently require that you submit contact info to be emailed a link to
-the download. I've kept the access token in the file in hopes that it continues
-to work.
+SmartSVN starts with free evaluation mode for the Professional edition for
+30 days and, if not registered, will continue in the free Foundation edition.
diff --git a/development/smartsvn/smartsvn.SlackBuild b/development/smartsvn/smartsvn.SlackBuild
index 228c2a5c34fe..bfd8feca90ab 100644
--- a/development/smartsvn/smartsvn.SlackBuild
+++ b/development/smartsvn/smartsvn.SlackBuild
@@ -22,7 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="smartsvn"
-VERSION=${VERSION:-8.5.5}
+VERSION=${VERSION:-9.0.5}
+SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -32,28 +33,23 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-#they use _ instead of periods...
-FILE_VERSION=${VERSION//./_}
-
-# if file downloaded with ?access= then rename
-mv $PRGNAM-linux-$FILE_VERSION.tar.gz\?access\=* $PRGNAM-linux-$FILE_VERSION.tar.gz 2>/dev/null
-
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-linux-$FILE_VERSION.tar.gz
-cd $PRGNAM-$FILE_VERSION
-chown -R root.root .
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-linux-$SRCVER.tar.gz
+cd $PRGNAM
+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 \
\( -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 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -R changelog.txt license.html readme-linux.txt smartsvn.url licenses \
+cp -R license.html smartsvn.url licenses/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/smartsvn/smartsvn.info b/development/smartsvn/smartsvn.info
index 86396426b36d..aa75387bfc9d 100644
--- a/development/smartsvn/smartsvn.info
+++ b/development/smartsvn/smartsvn.info
@@ -1,8 +1,8 @@
PRGNAM="smartsvn"
-VERSION="8.5.5"
+VERSION="9.0.5"
HOMEPAGE="http://www.smartsvn.com/"
-DOWNLOAD="http://www.wandisco.com/system/files/smartsvn/smartsvn-linux-8_5_5.tar.gz?access=65fd45e74459dab3c8f53c682648f61b"
-MD5SUM="97635efffa042944b6a8acd2634b4b4f"
+DOWNLOAD="http://www.smartsvn.com//static/svn/download/smartsvn/smartsvn-linux-9_0_5.tar.gz"
+MD5SUM="639222a333cb032be86d09b689102965"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"