diff options
author | Theo Tosini | 2015-12-24 16:37:33 -0500 |
---|---|---|
committer | Theo Tosini | 2015-12-24 16:37:33 -0500 |
commit | 47f58688eaa225776ee160402022c8442358aa0d (patch) | |
tree | fb1066ff8e5338d261ec5048c9c294639ece9673 | |
download | aur-47f58688eaa225776ee160402022c8442358aa0d.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..82a66943301e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Dec 24 21:37:21 UTC 2015 +pkgbase = quartus-lite-cyclonev + pkgdesc = Cyclone 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 = cyclonev-15.1.0.185.zip::http://download.altera.com/akdlm/software/acdsinst/15.1/185/ib_installers/cyclonev-15.1.0.185.qdz + md5sums = 7f108a307455acdc3cf6da21b1fbf211 + +pkgname = quartus-lite-cyclonev + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9f1a04d89345 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.pkg.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..84d58e42e7cf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Theo Tosini <theo.tosini@theoduino.me> +# Based heavily off of a package by swiftgeek +pkgname=quartus-lite-cyclonev +pkgver=15.1.0.185 +pkgrel=1 +pkgdesc="Cyclone 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=("cyclonev-${pkgver}.zip::http://download.altera.com/akdlm/software/acdsinst/${pkgver%.*.*}/${_build_nr}/ib_installers/cyclonev-${pkgver}.qdz" ) +md5sums=('7f108a307455acdc3cf6da21b1fbf211') +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: |