diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e6588cc7fbaa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = nrfutil + pkgdesc = nrfutil command line utility and the nordicsemi library + pkgver = 5.2.0 + pkgrel = 1 + url = https://github.com/NordicSemiconductor/pc-nrfutil + arch = any + license = MIT + depends = python2 + options = !emptydirs + source = nrfutil-5.2.0.tar.gz::https://github.com/NordicSemiconductor/pc-nrfutil/archive/v5.2.0.tar.gz + sha256sums = SKIP + +pkgname = nrfutil + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f373a5252aa1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Franck Lucien Duriez <franck.lucien.duriez@gmail.com> + +pkgname=nrfutil +pkgver=5.2.0 +pkgrel=1 +pkgdesc="nrfutil command line utility and the nordicsemi library" +arch=('any') +url="https://github.com/NordicSemiconductor/pc-nrfutil" +license=('MIT') +depends=('python2') +options=(!emptydirs) +source=("$pkgname-$pkgver.tar.gz::https://github.com/NordicSemiconductor/pc-nrfutil/archive/v$pkgver.tar.gz") +sha256sums=(SKIP) + +build() { + cd "$srcdir/pc-$pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/pc-$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} |