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