diff options
Diffstat (limited to 'graphics/librecad/librecad.SlackBuild')
-rw-r--r-- | graphics/librecad/librecad.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild index 66c1432fba..2e32a4cf95 100644 --- a/graphics/librecad/librecad.SlackBuild +++ b/graphics/librecad/librecad.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for LibreCAD -# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com> +# Copyright 2011-2013 Fridrich von Stauffenberg <cancellor2@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=librecad -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ORIG_PRGNAM=LibreCAD -ORIG_VERSION=v$VERSION-0-ga6826ad -ORIG_DIRNAME=$ORIG_PRGNAM-$ORIG_PRGNAM-a5c34b2 -ORIG_FILENAME=$ORIG_PRGNAM-$ORIG_PRGNAM-$ORIG_VERSION.tar.gz if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -50,9 +47,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $ORIG_DIRNAME -tar xvf $CWD/$ORIG_FILENAME -cd $ORIG_DIRNAME +rm -rf $ORIG_PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.?z* || tar xvf $CWD/$ORIG_PRGNAM-$VERSION.tar.?z* +cd $ORIG_PRGNAM-$VERSION chown -R root:root . sed -i "s@/share/doc/$PRGNAM@/doc/$PRGNAM-$VERSION@" desktop/$PRGNAM.1 |