[arch-commits] Commit in python-pythondata-cpu-mor1kx/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 2 18:25:16 UTC 2021
Date: Thursday, December 2, 2021 @ 18:25:15
Author: foutrelis
Revision: 1062137
archrelease: copy trunk to community-staging-any
Added:
python-pythondata-cpu-mor1kx/repos/community-staging-any/
python-pythondata-cpu-mor1kx/repos/community-staging-any/PKGBUILD
(from rev 1062134, python-pythondata-cpu-mor1kx/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pythondata-cpu-mor1kx/repos/community-staging-any/PKGBUILD (from rev 1062134, python-pythondata-cpu-mor1kx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-02 18:25:15 UTC (rev 1062137)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pythondata-cpu-mor1kx
+_pyname=${_pkgname//-/_}
+pkgname=python-$_pkgname
+_vexriscv=1.0.1
+pkgver=2020.08
+pkgrel=2
+pkgdesc='Python module containing verilog files for mor1kx cpu (for use with LiteX)'
+arch=('any')
+url="https://github.com/litex-hub/$_pkgname"
+license=('custom:OHDL')
+depends=('python')
+makedepends=('python-setuptools')
+options=('!strip')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('cf1e535c974612efa10a142afdf8541adb5107c85a8c11d1c454474a47856c81b34509335fa322ec7ea29a7d0f99a7fdc30248a935fe077a7acb190e345aecd6')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 $_pyname/verilog/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list