diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-08-24 18:37:19 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-08-25 01:20:09 +0200 |
commit | 674114acead32eed4c4b3672d3588edd2f83db5c (patch) | |
tree | d510cca00f1e1dabb0b719a804bad111ee096014 /pcr/arachne-pnr-git | |
parent | 9d677f52a3b29dedf9227e77de3db065cbb072ca (diff) | |
download | abslibre-674114acead32eed4c4b3672d3588edd2f83db5c.tar.gz abslibre-674114acead32eed4c4b3672d3588edd2f83db5c.tar.bz2 abslibre-674114acead32eed4c4b3672d3588edd2f83db5c.zip |
pcr: Add free software FPGA toolchain
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/arachne-pnr-git')
-rw-r--r-- | pcr/arachne-pnr-git/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/arachne-pnr-git/PKGBUILD b/pcr/arachne-pnr-git/PKGBUILD new file mode 100644 index 000000000..228a07e3a --- /dev/null +++ b/pcr/arachne-pnr-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer(AUR): Sebastian Bøe <sebastianbooe@gmail.com> +# Maintainer: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> +# parabola changes and rationale: +# - Added armv7h and i686 architectures support +pkgname=arachne-pnr-git +pkgrel=1 +pkgver=r328.c40fb22 +pkgdesc=" Place and route tool for FPGAs" +arch=('armv7h' 'i686' 'x86_64') +url="https://github.com/cseed/arachne-pnr" +license=('GPL2') +depends=('icestorm-git') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=('git+https://github.com/cseed/arachne-pnr.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${pkgname%-git}" + make ICEBOX=/usr/share/icebox PREFIX=/usr +} + +package() { + cd "$srcdir/${pkgname%-git}" + make ICEBOX=/usr/share/icebox PREFIX=$pkgdir/usr install +} |