Khem Raj 7e15b5c07f testing/simpleiot: new aport
https://github.com/simpleiot/simpleiot
Simple IoT cloud/edge application/framework
testing/
2023-10-30 10:12:45 +00:00

34 lines
893 B
Plaintext

# Contributor: Khem Raj <raj.khem@gmail.com>
# Maintainer: Khem Raj <raj.khem@gmail.com>
pkgname=simpleiot
pkgver=0.13.1
pkgrel=0
pkgdesc="Simple IoT cloud/edge application/framework"
url="https://github.com/simpleiot/simpleiot"
arch="x86_64"
license="Apache-2.0"
makedepends="go npm"
checkdepends="golangci-lint"
source="$pkgname-$pkgver.tar.gz::https://github.com/simpleiot/simpleiot/archive/refs/tags/v$pkgver.tar.gz"
options="net" # for downloading Go modules
build() {
. $srcdir/$pkgname-$pkgver/envsetup.sh
siot_setup
siot_build
}
check() {
sed -i -e "s/-race//" $srcdir/$pkgname-$pkgver/envsetup.sh
. $srcdir/$pkgname-$pkgver/envsetup.sh
siot_test
}
package() {
install -Dm755 siot -t "$pkgdir"/usr/bin/
}
sha512sums="
f1356a4a8276fa14b00665c7a083c68eb80ebe28988a67fa99968465f5cf6556aa4af91865f9c78b07196150d868d8619736c8dff9bbf787f26122145ad8903a simpleiot-0.13.1.tar.gz
"