| 1 | # Contributor: Oleg Titov <[email protected]> |
| 2 | # Maintainer: Oleg Titov <[email protected]> |
| 3 | pkgname=mynewt-newt |
| 4 | pkgver=1.14.0 |
| 5 | _ver=${pkgver//./_}_tag |
| 6 | pkgrel=1 |
| 7 | pkgdesc="Apache Newt is a smart build and package management tool for Apache Mynewt Operating System" |
| 8 | url="https://mynewt.apache.org" |
| 9 | arch="all" |
| 10 | license="Apache-2.0" |
| 11 | options="!check net" # unreleased test suite in separate repository, go |
| 12 | depends="git" |
| 13 | makedepends="go" |
| 14 | subpackages="$pkgname-doc" |
| 15 | source="mynewt-newt-$pkgver.tar.gz::https://github.com/apache/mynewt-newt/archive/mynewt_$_ver.tar.gz" |
| 16 | builddir="$srcdir/mynewt-newt-mynewt_$_ver" |
| 17 | |
| 18 | build() { |
| 19 | ./build.sh |
| 20 | } |
| 21 | |
| 22 | package() { |
| 23 | install -Dm 755 newt/newt "$pkgdir/usr/bin/newt" |
| 24 | |
| 25 | install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md |
| 26 | } |
| 27 | |
| 28 | sha512sums=" |
| 29 | 94910e70b288aa3bdd90f29e517651198b5f19711fdf6d829e49676f72482d88627cda864eda1a53d6b2d76c3c262ea325eaa1bf694f6ca657c31bb346891619 mynewt-newt-1.14.0.tar.gz |
| 30 | " |