summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin R. St-Amant2016-11-29 18:57:12 -0600
committerJustin R. St-Amant2016-11-29 18:57:12 -0600
commitd35037c79ae42af0d4bb7048199e7ef3d6eab539 (patch)
treeb69859554d1b30f362145d0dddcc4cf1d2dfeb4c
parent92e2dcd1cb3ec58e647db17c2941c8a6dcaf3ee5 (diff)
downloadaur-d35037c79ae42af0d4bb7048199e7ef3d6eab539.tar.gz
Updated package version and checksums
Upstream released Draftsight 2017SP0.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD37
2 files changed, 14 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b00ee97e055..9d1d27f31f63 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Aug 7 14:46:01 UTC 2016
+# Wed Nov 30 00:55:53 UTC 2016
pkgbase = draftsight
pkgdesc = Freeware CAD software for your DWG/DXF files.
- pkgver = 2016SP2
+ pkgver = 2017SP0
pkgrel = 1
url = http://www.3ds.com/products/draftsight/
install = draftsight.install
@@ -28,7 +28,7 @@ pkgbase = draftsight
depends = zlib
source = http://www.draftsight.com/download-linux-fedora
source = draftsight.desktop
- md5sums = 6197ffca0511482786b1a493df980267
+ md5sums = 7052ab4354064a41bc008130df4a719b
md5sums = 19b26d423cae7ec0e1e6c6d78c94915d
pkgname = draftsight
diff --git a/PKGBUILD b/PKGBUILD
index c8f78f2a0843..670c163d79bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,7 @@
# Maintainer: Justin R. St-Amant <jstamant24 at gmail dot com>
-# Contributor: Nicola Bignami <nicola@kernel-panic.no-ip.net>
-# Contributor: mickele
-# Contributor: Dan Serban
-# Contributor: Loui Chang <louipc dot ist at gmail company> (SPAMMERS!)
pkgname=draftsight
-pkgver=2016SP2
+pkgver=2017SP0
pkgrel=1
pkgdesc="Freeware CAD software for your DWG/DXF files."
arch=('x86_64')
@@ -32,7 +28,7 @@ depends=('desktop-file-utils'
install='draftsight.install'
source=("http://www.draftsight.com/download-linux-fedora"
"draftsight.desktop")
-md5sums=('6197ffca0511482786b1a493df980267'
+md5sums=('7052ab4354064a41bc008130df4a719b'
'19b26d423cae7ec0e1e6c6d78c94915d')
_pkgprefix='opt/dassault-systemes/DraftSight'
@@ -49,31 +45,20 @@ package()
mkdir -p $pkgdir/$_pkgprefix
cd $srcdir/$_pkgprefix
install -Dm644 Eula/english/eula.htm $pkgdir/usr/share/licenses/draftsight/LICENSE
- install -Dm644 Resources/pixmaps/128x128/program.png $pkgdir/usr/share/icons/hicolor/128x128/apps/draftsight.png
- install -Dm644 Resources/pixmaps/64x64/program.png $pkgdir/usr/share/icons/hicolor/64x64/apps/draftsight.png
- install -Dm644 Resources/pixmaps/48x48/program.png $pkgdir/usr/share/icons/hicolor/48x48/apps/draftsight.png
- install -Dm644 Resources/pixmaps/32x32/program.png $pkgdir/usr/share/icons/hicolor/32x32/apps/draftsight.png
- install -Dm644 Resources/pixmaps/16x16/program.png $pkgdir/usr/share/icons/hicolor/16x16/apps/draftsight.png
- install -Dm644 Resources/pixmaps/128x128/file-dwg.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes/file-dwg.png
- install -Dm644 Resources/pixmaps/64x64/file-dwg.png $pkgdir/usr/share/icons/hicolor/64x64/mimetypes/file-dwg.png
- install -Dm644 Resources/pixmaps/48x48/file-dwg.png $pkgdir/usr/share/icons/hicolor/48x48/mimetypes/file-dwg.png
- install -Dm644 Resources/pixmaps/32x32/file-dwg.png $pkgdir/usr/share/icons/hicolor/32x32/mimetypes/file-dwg.png
- install -Dm644 Resources/pixmaps/16x16/file-dwg.png $pkgdir/usr/share/icons/hicolor/16x16/mimetypes/file-dwg.png
- install -Dm644 Resources/pixmaps/128x128/file-dxf.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes/file-dxf.png
- install -Dm644 Resources/pixmaps/64x64/file-dxf.png $pkgdir/usr/share/icons/hicolor/64x64/mimetypes/file-dxf.png
- install -Dm644 Resources/pixmaps/48x48/file-dxf.png $pkgdir/usr/share/icons/hicolor/48x48/mimetypes/file-dxf.png
- install -Dm644 Resources/pixmaps/32x32/file-dxf.png $pkgdir/usr/share/icons/hicolor/32x32/mimetypes/file-dxf.png
- install -Dm644 Resources/pixmaps/16x16/file-dxf.png $pkgdir/usr/share/icons/hicolor/16x16/mimetypes/file-dxf.png
- install -Dm644 Resources/pixmaps/128x128/file-dwt.png $pkgdir/usr/share/icons/hicolor/128x128/mimetypes/file-dwt.png
- install -Dm644 Resources/pixmaps/64x64/file-dwt.png $pkgdir/usr/share/icons/hicolor/64x64/mimetypes/file-dwt.png
- install -Dm644 Resources/pixmaps/48x48/file-dwt.png $pkgdir/usr/share/icons/hicolor/48x48/mimetypes/file-dwt.png
- install -Dm644 Resources/pixmaps/32x32/file-dwt.png $pkgdir/usr/share/icons/hicolor/32x32/mimetypes/file-dwt.png
- install -Dm644 Resources/pixmaps/16x16/file-dwt.png $pkgdir/usr/share/icons/hicolor/16x16/mimetypes/file-dwt.png
+ for size in "16x16" "32x32" "48x48" "64x64" "128x128"
+ do
+ echo $size
+ install -Dm644 Resources/pixmaps/$size/program.png $pkgdir/usr/share/icons/hicolor/$size/apps/draftsight.png
+ install -Dm644 Resources/pixmaps/$size/file-dwg.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwg.png
+ install -Dm644 Resources/pixmaps/$size/file-dxf.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dxf.png
+ install -Dm644 Resources/pixmaps/$size/file-dwt.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwt.png
+ done
install -Dm644 Resources/dassault-systemes_draftsight-dwg.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwg.xml
install -Dm644 Resources/dassault-systemes_draftsight-dxf.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dxf.xml
install -Dm644 Resources/dassault-systemes_draftsight-dwt.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwt.xml
install -Dm644 $srcdir/draftsight.desktop $pkgdir/usr/share/applications/draftsight.desktop
+ #Install Draftsight's program files
cp -pr $srcdir/$_pkgprefix/* $pkgdir/$_pkgprefix/
}