projects/aports·blob master · refs

30 lines · 934 B

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