[arch-commits] Commit in python-migen/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Mar 25 22:09:59 UTC 2020


    Date: Wednesday, March 25, 2020 @ 22:09:58
  Author: ffy00
Revision: 604398

upgpkg: python-migen 0.9.2-1

Added:
  python-migen/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-25 22:09:58 UTC (rev 604398)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=migen
+pkgname=python-$_pkgname
+pkgver=0.9.2
+pkgrel=1
+pkgdesc='A Python toolbox for building complex digital hardware'
+arch=('any')
+url='https://github.com/m-labs/migen'
+license=('BSD')
+depends=('python-colorama')
+makedepends=('python-setuptools')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('9ff39f9f9b7e99b7d933e39091eb7e98c413ec3e60b98722d813df30fe95484470a1a027ac08bdf065bf688f4bb53af2c4618d3bbc0f1086adab33e149dca98f')
+
+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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list