development/smartsvn: Updated for version 9.0.5.

No longer requires registration to download.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-02-22 23:50:38 +00:00 committed by Willy Sudiarto Raharjo
parent 80f5ea20d3
commit 5e06089943
3 changed files with 15 additions and 22 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"