summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin R. St-Amant2016-06-08 18:42:06 -0500
committerJustin R. St-Amant2016-06-08 18:42:06 -0500
commite07f3f7b50697909fc51816acc1af0ef510305f4 (patch)
treefe417b661b507740b5a1bce870c74ff22ff0ae8c
parente0f645237a55b7a9835987cd9d05054d4df271cb (diff)
downloadaur-e07f3f7b50697909fc51816acc1af0ef510305f4.tar.gz
Implemented user suggestions.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--draftsight.desktop6
3 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f75996b4f33..492b7e7eb929 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Apr 18 22:19:23 UTC 2016
+# Wed Jun 8 23:40:30 UTC 2016
pkgbase = draftsight
pkgdesc = Freeware CAD software for your DWG/DXF files.
pkgver = 2016SP1
- pkgrel = 2
+ pkgrel = 3
url = http://www.3ds.com/products/draftsight/
install = draftsight.install
arch = x86_64
@@ -29,7 +29,7 @@ pkgbase = draftsight
source = http://www.draftsight.com/download-linux-fedora
source = draftsight.desktop
md5sums = 1bc8b2d4c69314f0d612a6c8e09d5acb
- md5sums = cfda3b8675a93ccfb768873c1a873199
+ md5sums = 19b26d423cae7ec0e1e6c6d78c94915d
pkgname = draftsight
diff --git a/PKGBUILD b/PKGBUILD
index 97432e9a89ef..94374885e96f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=draftsight
pkgver=2016SP1
-pkgrel=2
+pkgrel=3
pkgdesc="Freeware CAD software for your DWG/DXF files."
arch=('x86_64')
url="http://www.3ds.com/products/draftsight/"
@@ -33,14 +33,16 @@ install='draftsight.install'
source=("http://www.draftsight.com/download-linux-fedora"
"draftsight.desktop")
md5sums=('1bc8b2d4c69314f0d612a6c8e09d5acb'
- 'cfda3b8675a93ccfb768873c1a873199')
+ '19b26d423cae7ec0e1e6c6d78c94915d')
_pkgprefix='opt/dassault-systemes/DraftSight'
package()
{
mkdir -p $pkgdir/usr/bin
- echo "env vblank_mode=0 /${_pkgprefix}/Linux/DraftSight" > \
+ echo "#!/bin/sh" > \
+ $pkgdir/usr/bin/draftsight
+ echo "env vblank_mode=0 /${_pkgprefix}/Linux/DraftSight" >> \
$pkgdir/usr/bin/draftsight
chmod 755 $pkgdir/usr/bin/draftsight
diff --git a/draftsight.desktop b/draftsight.desktop
index 83c55cde7e0f..21facffd2ae0 100644
--- a/draftsight.desktop
+++ b/draftsight.desktop
@@ -2,7 +2,7 @@
Type=Application
Name=DraftSight
Comment=Freeware CAD software for your DWG/DXF files.
-Exec=env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight
-Icon=/usr/share/icons/hicolor/128x128/apps/draftsight.png
+Exec=env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight %U
+Icon=draftsight
Terminal=false
-Categories=Graphics;2DGraphics; \ No newline at end of file
+Categories=Graphics;2DGraphics;