[arch-commits] Commit in python-migen/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Mar 25 22:10:07 UTC 2020
Date: Wednesday, March 25, 2020 @ 22:10:07
Author: ffy00
Revision: 604399
archrelease: copy trunk to community-any
Added:
python-migen/repos/community-any/
python-migen/repos/community-any/PKGBUILD
(from rev 604398, python-migen/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-migen/repos/community-any/PKGBUILD (from rev 604398, python-migen/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-25 22:10:07 UTC (rev 604399)
@@ -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