aboutsummaryrefslogtreecommitdiff
path: root/graphics/librecad
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-04-29 19:57:16 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:02 -0500
commitf040c91149f24d3bece29b1834d048bcdb6e14ea (patch)
tree41f37b45befb8c345f821ac9a2e27ef2cc26d25f /graphics/librecad
parent0e6e5316f494049ee27947014d8b05694a8c4b71 (diff)
graphics/librecad: Updated for version 1.0.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/librecad')
-rw-r--r--graphics/librecad/README2
-rw-r--r--graphics/librecad/librecad.SlackBuild17
-rw-r--r--graphics/librecad/librecad.info8
3 files changed, 14 insertions, 13 deletions
diff --git a/graphics/librecad/README b/graphics/librecad/README
index 58e7ff620d72..f5156adc3c10 100644
--- a/graphics/librecad/README
+++ b/graphics/librecad/README
@@ -1,2 +1,4 @@
LibreCAD (former CADuntu) is a free and open source 2D CAD
application, started as a fork of QCad Community Edition.
+
+This requires muParser.
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index 64f1424d5e6f..66c1432fbae5 100644
--- a/graphics/librecad/librecad.SlackBuild
+++ b/graphics/librecad/librecad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LibreCAD
-# Copyright 2011 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=librecad
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ORIG_PRGNAM=LibreCAD
-ORIG_FILENAME=$ORIG_PRGNAM-$ORIG_PRGNAM
-ORIG_DIRNAME=$ORIG_FILENAME-1df9fb8
-ORIG_VERSION=v$VERSION-0-g267a1bc
+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
@@ -51,12 +51,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $ORIG_DIRNAME
-tar xvf $CWD/$ORIG_FILENAME-$ORIG_VERSION.tar.gz
+tar xvf $CWD/$ORIG_FILENAME
cd $ORIG_DIRNAME
chown -R root:root .
sed -i "s@/share/doc/$PRGNAM@/doc/$PRGNAM-$VERSION@" desktop/$PRGNAM.1
-sed -i "/support\/doc/s/#cp/cp/g" scripts/postprocess-unix.sh
qmake $PRGNAM.pro
make
@@ -76,8 +75,8 @@ cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$PRGNAM
chmod 755 $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp desktop/$PRGNAM.desktop $PKG/usr/share/applications
-cp res/main/$PRGNAM.png $PKG/usr/share/pixmaps
+cp -a desktop/$PRGNAM.desktop $PKG/usr/share/applications
+cp -a res/main/$PRGNAM.png $PKG/usr/share/pixmaps
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/librecad/librecad.info b/graphics/librecad/librecad.info
index 341c1c43f592..7ebca790acc0 100644
--- a/graphics/librecad/librecad.info
+++ b/graphics/librecad/librecad.info
@@ -1,10 +1,10 @@
PRGNAM="librecad"
-VERSION="1.0.1"
+VERSION="1.0.2"
HOMEPAGE="http://librecad.org"
-DOWNLOAD="https://github.com/LibreCAD/LibreCAD/tarball/v1.0.1/LibreCAD-LibreCAD-v1.0.1-0-g267a1bc.tar.gz"
-MD5SUM="30d8ce6461bdf852c27ea753361b11ae"
+DOWNLOAD="https://github.com/LibreCAD/LibreCAD/tarball/v1.0.2/LibreCAD-LibreCAD-v1.0.2-0-ga6826ad.tar.gz"
+MD5SUM="afaa38dc54fc9a694b17aed19b1a3269"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Fridrich von Stauffenberg"
EMAIL="cancellor2@gmail.com"
-APPROVED="Niels Horn"
+APPROVED="dsomero"