[arch-commits] Commit in tinyprog/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 00:30:48 UTC 2021


    Date: Friday, December 3, 2021 @ 00:30:47
  Author: foutrelis
Revision: 1063817

archrelease: copy trunk to community-staging-any

Added:
  tinyprog/repos/community-staging-any/
  tinyprog/repos/community-staging-any/PKGBUILD
    (from rev 1063815, tinyprog/trunk/PKGBUILD)

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

Copied: tinyprog/repos/community-staging-any/PKGBUILD (from rev 1063815, tinyprog/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:30:47 UTC (rev 1063817)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=TinyFPGA-Bootloader
+pkgname=tinyprog
+pkgver=1.0.23
+pkgrel=3
+pkgdesc='TinyFPGA CLI Programmer'
+arch=('any')
+url='https://github.com/tinyfpga/TinyFPGA-Bootloader'
+license=('Apache2')
+depends=('python')
+depends=('python-pyserial' 'python-jsonmerge' 'python-intelhex' 'python-tqdm' 'python-six'
+         'python-packaging' 'python-pyusb')
+makedepends=('python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgname-$pkgver.tar.gz")
+sha512sums=('3225f161dc41799c87e73ff03f6ed7f077a0f7e7432af600d1be288fa330ec5cc8449c46ad168ad44342884fe71722766e188b197a61a65b427ad01839f2ca12')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd $_pkgname-$pkgname-$pkgver/programmer
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgname-$pkgver
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  cd programmer
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list