summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-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 58e7ff620d..f5156adc3c 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 64f1424d5e..66c1432fba 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 341c1c43f5..7ebca790ac 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"