1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
3 _pkgname=pythondata-cpu-mor1kx
4 _pyname=${_pkgname//-/_}
5 pkgname=python-$_pkgname
8 pkgdesc='Python module containing verilog files for mor1kx cpu (for use with LiteX)'
10 url="https://github.com/litex-hub/$_pkgname"
11 license=('custom:OHDL')
13 makedepends=('python-setuptools')
15 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
16 sha512sums=('ee0fc7a143740fd4d48a2c5dde0adc90958f651956ebda94b39e1a0bbf65863a0777f788b9820c5ed00101593e95ce891634db9ec18e40bd4cb3675cdf84c473')
27 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
29 install -Dm 644 $_pyname/verilog/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE