aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2013-05-12 16:31:37 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-05-12 16:31:37 -0300
commit1aa8a77780578ed947414582704759d2d2d167bf (patch)
tree4b4781630dba035bd6c9ab2270464a18d46cad67 /graphics
parent567d6bd329156a273ee88f10d1e82c19f5354719 (diff)
graphics/librecad: Updated for version 1.0.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/librecad/librecad.SlackBuild13
-rw-r--r--graphics/librecad/librecad.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index 66c1432fbae5..2e32a4cf9531 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
diff --git a/graphics/librecad/librecad.info b/graphics/librecad/librecad.info
index 9aa2f67e47e6..2be0249aa8aa 100644
--- a/graphics/librecad/librecad.info
+++ b/graphics/librecad/librecad.info
@@ -1,8 +1,8 @@
PRGNAM="librecad"
-VERSION="1.0.2"
+VERSION="1.0.3"
HOMEPAGE="http://librecad.org"
-DOWNLOAD="https://github.com/LibreCAD/LibreCAD/tarball/v1.0.2/LibreCAD-LibreCAD-v1.0.2-0-ga6826ad.tar.gz"
-MD5SUM="afaa38dc54fc9a694b17aed19b1a3269"
+DOWNLOAD="https://github.com/LibreCAD/LibreCAD/archive/v1.0.3.tar.gz"
+MD5SUM="5ab14dd9563c19b906feac7302e76e09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="muParser"