aboutsummaryrefslogtreecommitdiff
path: root/development/smartsvn/smartsvn.SlackBuild
diff options
context:
space:
mode:
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 ce8fef772d145..228c2a5c34fea 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}