summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwift Geek2015-12-03 15:50:48 +0100
committerSwift Geek2015-12-03 15:50:48 +0100
commit5f9193cd1b698279b98f9e15b7188c0b8c686711 (patch)
tree81b7377d34ea08c4b14054f152b8ba48708091dd
downloadaur-quartus-lite-max.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca47f36e224
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = quartus-lite-max
+ pkgdesc = MAX II, MAX V device support for Quartus Prime Lite Edition
+ pkgver = 15.1.0.185
+ pkgrel = 1
+ url = http://dl.altera.com/?edition=lite#tabs-2
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = quartus-lite
+ options = !strip
+ options = !upx
+ source = max-15.1.0.185.zip::http://download.altera.com/akdlm/software/acdsinst/15.1/185/ib_installers/max-15.1.0.185.qdz
+ md5sums = deacb97d4a14a952521b6f1dfbcb958f
+
+pkgname = quartus-lite-max
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bd41d16e11a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=quartus-lite-max
+pkgver=15.1.0.185
+pkgrel=1
+pkgdesc="MAX II, MAX V device support for Quartus Prime Lite Edition"
+arch=('i686' 'x86_64')
+url="http://dl.altera.com/?edition=lite#tabs-2"
+license=('custom')
+
+_build_nr=$(echo ${pkgver} | cut -d '.' -f4)
+_alteradir="/opt/altera"
+
+depends=('quartus-lite')
+
+source=("max-${pkgver}.zip::http://download.altera.com/akdlm/software/acdsinst/${pkgver%.*.*}/${_build_nr}/ib_installers/max-${pkgver}.qdz" )
+md5sums=('deacb97d4a14a952521b6f1dfbcb958f')
+options=('!strip' '!upx') # No need for device support
+PKGEXT=".pkg.tar" # Do not compress
+
+package() {
+ cd "${srcdir}"
+
+ # Use mv instead of install/cp to save I/O in case of big device support packages
+ install -d -m755 "${pkgdir}/${_alteradir}/"
+ mv ${srcdir}/quartus "${pkgdir}/${_alteradir}/"
+
+ # Fix permissions
+ cd "${pkgdir}/${_alteradir}"
+ chmod -R u+w ./
+}
+
+# vim:set ts=2 sw=2 et: