diff options
Diffstat (limited to 'graphics/draftsight/draftsight.SlackBuild')
-rw-r--r-- | graphics/draftsight/draftsight.SlackBuild | 18 |
1 files changed, 8 insertions, 10 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 |