[arch-commits] Commit in tinyprog/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 28 19:49:51 UTC 2020
Date: Saturday, March 28, 2020 @ 19:49:51
Author: ffy00
Revision: 605458
archrelease: copy trunk to community-any
Added:
tinyprog/repos/community-any/
tinyprog/repos/community-any/PKGBUILD
(from rev 605457, tinyprog/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: tinyprog/repos/community-any/PKGBUILD (from rev 605457, tinyprog/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-03-28 19:49:51 UTC (rev 605458)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=TinyFPGA-Bootloader
+pkgname=tinyprog
+pkgver=1.0.23
+pkgrel=1
+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