summaryrefslogtreecommitdiff
path: root/development/smartsvn/smartsvn.SlackBuild
diff options
context:
space:
mode:
authorMiguel De Anda <miguel@thedeanda.com>2014-07-06 23:47:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2014-07-07 00:00:59 -0500
commit10012cb3711f04b903804259818dfb3be7144fdb (patch)
tree9b86d2ec05805554edbc37121d9efe0988147339 /development/smartsvn/smartsvn.SlackBuild
parentaed0b86de1d40ab67a170e0374b5fc690b427ea3 (diff)
downloadslackbuilds-10012cb3711f04b903804259818dfb3be7144fdb.tar.gz
development/smartsvn: Updated for version 8.5.5.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/smartsvn/smartsvn.SlackBuild')
-rw-r--r--development/smartsvn/smartsvn.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/development/smartsvn/smartsvn.SlackBuild b/development/smartsvn/smartsvn.SlackBuild
index ce8fef772d..228c2a5c34 100644
--- a/development/smartsvn/smartsvn.SlackBuild
+++ b/development/smartsvn/smartsvn.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="smartsvn"
-VERSION=${VERSION:-8.5.3}
+VERSION=${VERSION:-8.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -35,6 +35,9 @@ 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
@@ -67,5 +70,9 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+mkdir -p $PKG/usr/bin
+cd $PKG/usr/bin
+ln -s ../share/$PRGNAM/bin/$PRGNAM.sh $PRGNAM
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}