summaryrefslogtreecommitdiff
path: root/graphics/draftsight
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2014-03-06 19:27:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-06 19:28:57 +0700
commit3c5e12ff702304f3e21eb2f0d7cd72a0b1afdc7e (patch)
tree7c04724a2371df80cfe548b4fd5e32012ad6fbae /graphics/draftsight
parentb9dfa325980eda8ee61b688a59ad821a91480a54 (diff)
downloadslackbuilds-3c5e12ff702304f3e21eb2f0d7cd72a0b1afdc7e.tar.gz
graphics/draftsight: Updated for version 1.2.413.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/draftsight')
-rw-r--r--graphics/draftsight/draftsight.SlackBuild18
-rw-r--r--graphics/draftsight/draftsight.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/graphics/draftsight/draftsight.SlackBuild b/graphics/draftsight/draftsight.SlackBuild
index 5ca1cdd4e9..8cdf2d4b2a 100644
--- a/graphics/draftsight/draftsight.SlackBuild
+++ b/graphics/draftsight/draftsight.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for DraftSight
-# Copyright 2012-2013 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2012-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=draftsight
-VERSION=${VERSION:-1.2.285}
+VERSION=${VERSION:-1.2.413}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,31 +56,29 @@ ar xv $CWD/$ORIG_PRGNAM.deb
tar xvf data.tar.gz
tar xvf control.tar.gz
rm -f data.tar.gz control.tar.gz debian-binary \
- ShowLicence control preinst postinst prerm license.*.conf
+ ShowLicense control preinst postinst prerm license.*.conf
chown -R root:root .
for SIZE in 16 32 48 64 128; do
mkdir -p $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/{apps,mimetypes}
- mv $PKG/opt/dassault-systemes/$PRGNAM/mime/pixmaps/$SIZE'x'$SIZE/dassault-systemes_$PRGNAM.png \
+ ln -s /opt/dassault-systemes/DraftSight/Resources/pixmaps/$SIZE'x'$SIZE/program.png \
$PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps/dassault-systemes.$PRGNAM.png
for TYPE in dwg dwt dxf; do
- mv $PKG/opt/dassault-systemes/$PRGNAM/mime/pixmaps/$SIZE'x'$SIZE/dassault-systemes_$PRGNAM-$TYPE.png \
+ ln -s /opt/dassault-systemes/DraftSight/Resources/pixmaps/$SIZE'x'$SIZE/file-$TYPE.png \
$PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/mimetypes/dassault-systemes.$PRGNAM-$TYPE.png
done
done
mkdir -p $PKG/usr/share/{applications,mime/packages}
-mv $PKG/opt/dassault-systemes/$PRGNAM/mime/dassault-systemes_$PRGNAM.desktop \
+ln -s /opt/dassault-systemes/DraftSight/Resources/dassault-systemes_$PRGNAM.desktop \
$PKG/usr/share/applications/dassault-systemes.$PRGNAM.desktop
for TYPE in dwg dwt dxf; do
- mv $PKG/opt/dassault-systemes/$PRGNAM/mime/dassault-systemes_$PRGNAM-$TYPE.xml \
+ ln -s /opt/dassault-systemes/DraftSight/Resources/dassault-systemes_$PRGNAM-$TYPE.xml \
$PKG/usr/share/mime/packages/dassault-systemes.$PRGNAM-$TYPE.xml
done
-rm -rf $PKG/opt/dassault-systemes/$PRGNAM/mime
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv copyright license.*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv license.*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/draftsight/draftsight.info b/graphics/draftsight/draftsight.info
index 3f209dd56d..ce4a878b0c 100644
--- a/graphics/draftsight/draftsight.info
+++ b/graphics/draftsight/draftsight.info
@@ -1,8 +1,8 @@
PRGNAM="draftsight"
-VERSION="1.2.285"
+VERSION="1.2.413"
HOMEPAGE="http://www.draftsight.com"
-DOWNLOAD="http://dl-ak.solidworks.com/nonsecure/draftsight/V1R4.0.1/draftSight.deb"
-MD5SUM="176ce543fa2ece8961133600cc9fecdf"
+DOWNLOAD="http://dl-ak.solidworks.com/nonsecure/draftsight/V1R5.0/draftSight.deb"
+MD5SUM="04ec0ce236b7bb97ab075f1b9c7a206d"
DOWNLOAD_x86_64="UNTESTED"
MD5SUM_x86_64=""
REQUIRES="nas"