summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Anderson2019-12-06 18:11:35 -0500
committerSean Anderson2019-12-06 18:11:35 -0500
commitfec351921ddc16c68b4a5e6dcdaa4cf0c616e372 (patch)
treee7c0221db0441fb31560be40f5062b8f8449ffe3
downloadaur-fec351921ddc16c68b4a5e6dcdaa4cf0c616e372.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD35
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7f4e4ff58a0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-kflash
+ pkgdesc = A Python-based cross-platform Kendryte K210 UART ISP Utility
+ pkgver = 0.9.1
+ pkgrel = 1
+ url = https://github.com/kendryte/kflash.py
+ arch = any
+ license = MIT
+ depends = python
+ depends = python-pyserial
+ depends = python-pyelftools
+ options = !emptydirs
+ source = https://github.com/kendryte/kflash.py/archive/v0.9.1.tar.gz
+ sha512sums = 0bd05acc3b3118186757b293c3b8b95c4590f69c07cd6b6b3802795ba3406cb6cedf6dea57fdfaad89e8939f23dfc95f921572fa089fd3649a4153265b9bdf0b
+
+pkgname = python-kflash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..00761a845c2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more
+# information on Python packaging.
+
+# Maintainer: Sean Anderson <seanga2@gmail.com>
+pkgname=python-kflash
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A Python-based cross-platform Kendryte K210 UART ISP Utility"
+arch=(any)
+url="https://github.com/kendryte/kflash.py"
+license=('MIT')
+groups=()
+depends=('python' 'python-pyserial' 'python-pyelftools')
+makedepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=(!emptydirs)
+install=
+source=("https://github.com/kendryte/kflash.py/archive/v$pkgver.tar.gz")
+sha512sums=('0bd05acc3b3118186757b293c3b8b95c4590f69c07cd6b6b3802795ba3406cb6cedf6dea57fdfaad89e8939f23dfc95f921572fa089fd3649a4153265b9bdf0b')
+
+package() {
+ cd "$srcdir/kflash.py-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: