diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-02-22 23:50:38 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:37 +0700 |
commit | 5e060899430a7aa0d380d7ecf63110f5176503c4 (patch) | |
tree | 0ed899094bf7ddfefa6366e948529b6645445db9 /development/smartsvn/smartsvn.SlackBuild | |
parent | 80f5ea20d3c4aa8c0d08c9942e5f877863c66509 (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/smartsvn.SlackBuild')
-rw-r--r-- | development/smartsvn/smartsvn.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
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 |