summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergej Pupykin2017-10-03 11:27:14 +0300
committerSergej Pupykin2017-10-03 11:27:14 +0300
commit35b2388b90dd1bb50db35531ab4b78db618ac1df (patch)
tree3017700190474993faa906470d3b40f8fd5ba3ce
downloadaur-nrftool.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..92f5028908b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue Oct 3 08:27:07 UTC 2017
+pkgbase = nrftool
+ pkgdesc = A tool to flash and erase nRF devices
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/pauloborges/nrftool
+ arch = any
+ license = MIT
+ depends = python2
+ options = !emptydirs
+ source = nrftool-0.1.1.tar.gz::https://github.com/pauloborges/nrftool/archive/v0.1.1.tar.gz
+ sha256sums = b23a1bb6a0cb9805b4cdcdc671de8fbe7dae03eaa944f5b7771c73401314f8dd
+
+pkgname = nrftool
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3b48c03fb2b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
+
+pkgname=nrftool
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="A tool to flash and erase nRF devices"
+arch=('any')
+url="https://github.com/pauloborges/nrftool"
+license=('MIT')
+depends=('python2')
+options=(!emptydirs)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pauloborges/nrftool/archive/v$pkgver.tar.gz")
+sha256sums=('b23a1bb6a0cb9805b4cdcdc671de8fbe7dae03eaa944f5b7771c73401314f8dd')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}