aports/testing/simpleiot/APKBUILD
2025-04-11 19:40:50 +02:00

35 lines
1 KiB
Text

# Contributor: Khem Raj <raj.khem@gmail.com>
# Maintainer: Khem Raj <raj.khem@gmail.com>
pkgname=simpleiot
pkgver=0.14.3
pkgrel=9
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="
50cd3895fd602594b6694cb8c285c0b1b634ed4d8be8d03c20ac0d62610df236400b78e744cf59a1c8550cbb2c1754eac1c8df0bb44c84a169d40f325f59be68 simpleiot-0.14.3.tar.gz
4cedea658623f90e565e1a5a8d4f3b979ec5cf618bd0b4421df4988d319ad4e9335231b842de09f574b31dddab69688d06f4f571a40ce990593389db8a33d8aa dont-run-golangci.patch
"