aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vd-hoeven.nl>2016-07-24 15:28:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:31 +0700
commit87af7245e25ff41506f8a6268412e26c070bd97c (patch)
tree152c56d10260d8cfde255f9da40134c38676c30a /graphics
parent3487afa03eecac49f25cdb55ea987b4ac63c538a (diff)
graphics/leocad: Updated for version 0.83.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/leocad/leocad.SlackBuild15
-rw-r--r--graphics/leocad/leocad.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
index f2b361aea12af..dfabf0a3454d9 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.SlackBuild
@@ -4,7 +4,7 @@
# 3D design program for bricks
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=leocad
-VERSION=${VERSION:-0.82.2}
+VERSION=${VERSION:-0.83}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,9 +58,10 @@ fi
set -e
-rm -rf $TMP/$PRGNAM $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+rm -rf $PRGNAM
tar xvf $CWD/LeoCAD-Source-$VERSION.tgz
cd $PRGNAM
chown -R root:root .
@@ -92,7 +93,7 @@ sed -i 's%Icon=leocad.svg%Icon=leocad%' $PKG/usr/share/applications/leocad.deskt
mkdir -p $PKG/usr/man/man1
cp -a docs/leocad.1 $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/CREDITS.txt docs/README.txt docs/COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info
index c28794ad84fde..3af905d9b19be 100644
--- a/graphics/leocad/leocad.info
+++ b/graphics/leocad/leocad.info
@@ -1,8 +1,8 @@
PRGNAM="leocad"
-VERSION="0.82.2"
+VERSION="0.83"
HOMEPAGE="http://www.leocad.org/"
-DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/graphics/leocad/LeoCAD-Source-0.82.2.tgz"
-MD5SUM="dbc6ff61fb687e67cc38d26d453d5fdb"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/leocad/LeoCAD-Source-0.83.tgz"
+MD5SUM="58bceec89c876b04491e0ca95219c41a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leocad_pieces"