[arch-commits] Commit in fusesoc/repos (community-any community-any/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat May 30 20:41:50 UTC 2020


    Date: Saturday, May 30, 2020 @ 20:41:50
  Author: ffy00
Revision: 637526

archrelease: copy trunk to community-any

Added:
  fusesoc/repos/community-any/
  fusesoc/repos/community-any/PKGBUILD
    (from rev 637525, fusesoc/trunk/PKGBUILD)

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

Copied: fusesoc/repos/community-any/PKGBUILD (from rev 637525, fusesoc/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-05-30 20:41:50 UTC (rev 637526)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=fusesoc
+pkgver=1.10
+pkgrel=1
+pkgdesc='Package manager and build abstraction tool for FPGA/ASIC development'
+arch=('any')
+url='https://github.com/olofk/fusesoc'
+license=('BSD')
+depends=('python' 'python-edalize' 'python-ipyxact' 'python-pyparsing' 'python-yaml' 'python-simplesat' 'git')
+makedepends=('python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4954265e41918e3a4a8f5efb64285ffd8d8535e92843e3ee925dbca71bb9a56844d2f9cbe8573a7caa4b17ac2ae24d6f0ecc83b5ec026829e45828b61561e305')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+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