[arch-commits] Commit in tinyprog/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 28 19:49:48 UTC 2020
Date: Saturday, March 28, 2020 @ 19:49:48
Author: ffy00
Revision: 605457
upgpkg: tinyprog 1.0.23-1
Added:
tinyprog/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-28 19:49:48 UTC (rev 605457)
@@ -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