mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 16:14:15 +02:00
https://github.com/simpleiot/simpleiot/releases/tag/v0.18.3 https://github.com/simpleiot/simpleiot/releases
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Khem Raj <raj.khem@gmail.com>
|
|
# Maintainer: Khem Raj <raj.khem@gmail.com>
|
|
pkgname=simpleiot
|
|
pkgver=0.18.3
|
|
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"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/simpleiot/simpleiot/archive/refs/tags/v$pkgver.tar.gz
|
|
dont-run-golangci.patch
|
|
"
|
|
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="
|
|
ceebb158ea27e297cd856b5cfd31c482fc0e9388a3499138069489ab5cbb593209132318a8fd522230cc6d0664c8d3c2f3ac88fd801dc6bbec399ade852a27da simpleiot-0.18.3.tar.gz
|
|
9352515c06b321cfc63d16ec27b3be85bcbd11896cb9b1794648fc4770d5310060193839e1e9c66b237cc1f40c9e23ede193dd5eb7c844539f0db043c653cfe6 dont-run-golangci.patch
|
|
"
|