Skip to content
Snippets Groups Projects
Commit 00bb7c6e authored by Oleg Titov's avatar Oleg Titov Committed by Kevin Daudt
Browse files

testing/newt: new aport

https://mynewt.apache.org
Apache Newt is a smart build and package management tool for Apache Mynewt Operating System
parent 4059a31f
No related merge requests found
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=newt
pkgver=1.5.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" # No test suit
depends="git"
makedepends="go"
subpackages="$pkgname-doc"
source="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="1e32db93946f75cc22f35d65c15bb4e505e4eed72e929e0864d13604c4f91da1b301ca5cf91650b4fedf47c2328bacc501fdc16b845b2f244d610aa9c710beee newt-1.5.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment