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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:40:55 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:40:54
  Author: felixonmars
Revision: 752755

archrelease: copy trunk to community-staging-any

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

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

Copied: tinyprog/repos/community-staging-any/PKGBUILD (from rev 752754, tinyprog/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:40:54 UTC (rev 752755)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=TinyFPGA-Bootloader
+pkgname=tinyprog
+pkgver=1.0.23
+pkgrel=2
+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