# Maintainer: csantosb pkgname=python-fusesoc pkgver=1.10 pkgrel=0 pkgdesc="Package manager and build abstraction tool for FPGA/ASIC development." arch=('any') url="http://github.com/olofk/fusesoc/" license=('GPLv3') conflicts=('python-fusesoc-git') provides=('python-fusesoc') depends=('python' 'python-edalize' 'python-setuptools') makedepends=('git') optdepends=('iverilog: for simulating verilog designs' 'ghdl: for simulating VHDL designs' 'gtkwave: for visualizing waveforms') options=(!emptydirs) source=("git+https://github.com/olofk/fusesoc#tag=${pkgver}") md5sums=('SKIP') build() { cd "${srcdir}/fusesoc" python setup.py build } package() { cd "${srcdir}/fusesoc" python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 install -m 644 -D ./LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE }