blob: 269be52634ec8565399e80ea82cde78d44b01e9f (
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
32
33
34
|
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=mynewt-newt
pkgver=1.10.0
_ver=${pkgver//./_}_tag
pkgrel=5
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}"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
./build.sh
}
package() {
install -Dm 755 newt/newt "${pkgdir}/usr/bin/newt"
install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}/" README.md
}
sha512sums="
6109b0421d8e02d5b83082f8085ccf0904ad7f1997e1d9932fad015d3cb40ab6804571a2466d2a42f3f7970e114ac25b2a9084c3c15e16c46eb01f359ecc0151 mynewt-newt-1.10.0.tar.gz
"
|