summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordoragasu2017-05-03 22:45:40 +0200
committerdoragasu2017-05-03 22:45:40 +0200
commit519be40d004765dc56942a6c2e2720ff5b2b8577 (patch)
treecb53c45b221c7049b6c638debb03d9c822d9e67e
parent0788d402a3e2ba261494826e106d714d33e8828e (diff)
downloadaur-519be40d004765dc56942a6c2e2720ff5b2b8577.tar.gz
Updated to version 3.9
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD38
-rw-r--r--lattice-diamond.desktop2
-rw-r--r--synp-plat-check.patch37
4 files changed, 24 insertions, 70 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54817f8d5d4f..79010f53682b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,19 @@
pkgbase = lattice-diamond
pkgdesc = Lattice Diamond design software
- pkgver = 3.7
+ pkgver = 3.9
pkgrel = 1
- url = http://www.latticesemi.com/latticediamond
+ url = http://www.latticesemi.com/
arch = x86_64
license = custom
makedepends = rpmextract
- provides = lattice-diamond
- conflicts = lattice-diamond
options = !strip
- source = http://files.latticesemi.com/Diamond/3.7/diamond_3_7-base_x64-96-1-x86_64-linux.rpm
- source = synp-plat-check.patch
+ options = !upx
+ source = http://files.latticesemi.com/Diamond/3.9/diamond_3_9-base_x64-99-2-x86_64-linux.rpm
source = lattice-diamond.png
source = lattice-diamond.desktop
- md5sums = 162ab905a552a72763aa62dc3efe0ef7
- md5sums = b03c61ceb13d196d651a6ed26f61c796
- md5sums = d04fb58bdb5f67e44b5058e14f3aacf9
- md5sums = fbba8b33146178b861871aabdc779fbd
+ sha512sums = ee4ef401f7e6db6b54061e612224666ee0f3218499653f82b66a2865a0fdf3e6c8986c7a70d6c92da7d1276b6e21081866603d544d6fdc0c60fcccbcfa7b683a
+ sha512sums = 772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac
+ sha512sums = 376ff8219222f4cecec686356ccbbd19ee5e721ab991d4ec335a32248431e4a26433d29476cd900fb3dee7e441a875eaacbf2b197273482d7b39bff76c8db70c
pkgname = lattice-diamond
diff --git a/PKGBUILD b/PKGBUILD
index 53c70784b05f..b66bd1197d90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,23 @@
# Maintainer: doragasu <doragasu (yawn) hotmail (roll) com>
+# Contributor: David Manouchehri
-pkgname=lattice-diamond
-pkgver=3.7
-pkgrel=1
+pkgname="lattice-diamond"
pkgdesc="Lattice Diamond design software"
-arch=('x86_64')
-url="http://www.latticesemi.com/latticediamond"
+url="http://www.latticesemi.com/"
license=('custom')
-options=('!strip')
-provides=('lattice-diamond')
-conflicts=('lattice-diamond')
-source=(http://files.latticesemi.com/Diamond/3.7/diamond_3_7-base_x64-96-1-x86_64-linux.rpm
- synp-plat-check.patch
- lattice-diamond.png
- lattice-diamond.desktop)
-md5sums=('162ab905a552a72763aa62dc3efe0ef7'
- 'b03c61ceb13d196d651a6ed26f61c796'
- 'd04fb58bdb5f67e44b5058e14f3aacf9'
- 'fbba8b33146178b861871aabdc779fbd')
+pkgver=3.9
+_revision="99-2"
+pkgrel=1
+arch=('x86_64')
+source=("http://files.latticesemi.com/Diamond/${pkgver}/diamond_${pkgver/"."/"_"}-base_x64-${_revision}-${arch}-linux.rpm"
+ "lattice-diamond.png"
+ "lattice-diamond.desktop")
+makedepends=('rpmextract')
+sha512sums=('ee4ef401f7e6db6b54061e612224666ee0f3218499653f82b66a2865a0fdf3e6c8986c7a70d6c92da7d1276b6e21081866603d544d6fdc0c60fcccbcfa7b683a'
+ '772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac'
+ '376ff8219222f4cecec686356ccbbd19ee5e721ab991d4ec335a32248431e4a26433d29476cd900fb3dee7e441a875eaacbf2b197273482d7b39bff76c8db70c')
+options=('!strip' '!upx')
+#PKGEXT=".pkg.tar" # The package is over 3 GB, uncomment this line if you prefer not compressing it
prepare() {
# Extract all the packages
@@ -47,12 +47,6 @@ prepare() {
rm tcltk.tar.gz
}
-build() {
- # Patch to skip platform check, allowing Synplify Pro to run on non
- # officially supported platforms
- patch -p1 < synp-plat-check.patch
-}
-
package() {
# Move everything to pkgdir
mv ${srcdir}/usr ${pkgdir}/
diff --git a/lattice-diamond.desktop b/lattice-diamond.desktop
index 2ff094310ea9..51273d173c52 100644
--- a/lattice-diamond.desktop
+++ b/lattice-diamond.desktop
@@ -4,6 +4,6 @@ Version=1.0
Type=Application
Icon=lattice-diamond
Name=Lattice Diamond
-Exec=/usr/local/diamond/3.7_x64/bin/lin64/diamond
+Exec=/usr/local/diamond/3.9_x64/bin/lin64/diamond
Categories=Development;
Comment=Lattice Diamond Design Software
diff --git a/synp-plat-check.patch b/synp-plat-check.patch
deleted file mode 100644
index 6689bdd3a967..000000000000
--- a/synp-plat-check.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ruN src/usr/local/diamond/3.7_x64/synpbase/bin/config/platform_check src.work/usr/local/diamond/3.7_x64/synpbase/bin/config/platform_check
---- src/usr/local/diamond/3.7_x64/synpbase/bin/config/platform_check 2015-12-09 21:12:13.000000000 +0100
-+++ src.work/usr/local/diamond/3.7_x64/synpbase/bin/config/platform_check 2016-07-17 15:32:55.368029939 +0200
-@@ -9,18 +9,21 @@
- # $Header: //synplicity/ui201509rc/unix_scripts/bin/config/platform_check#2 $
- #
- #+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--case $PLATFORM in
-- linux | linux_a_64 )
-- case $VERSION in
-- 3.* | 2.4.* | 2.6.* )
-- PLATFORM_STATUS="ok";;
-- *)
-- PLATFORM_STATUS=`echo $PLATFORM $VERSION`;;
-- esac;;
-- *)
-- PLATFORM_STATUS=`echo $PLATFORM $VERSION`
-- ;;
--esac
-+# Skip platform check to allow running on non officially supported platforms
-+#case $PLATFORM in
-+# linux | linux_a_64 )
-+# case $VERSION in
-+# 3.* | 2.4.* | 2.6.* )
-+# PLATFORM_STATUS="ok";;
-+# *)
-+# PLATFORM_STATUS=`echo $PLATFORM $VERSION`;;
-+# esac;;
-+# *)
-+# PLATFORM_STATUS=`echo $PLATFORM $VERSION`
-+# ;;
-+#esac
-+
-+PLATFORM_STATUS="ok"
-
- #+-+-+-+-+-+-+-+- Platform Checking +-+-+-+-+-+-+
- #