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

24 lines
789 B
Text

# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=gotestsum
pkgver=1.12.1
pkgrel=2
pkgdesc="Go test runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results"
url="https://github.com/gotestyourself/gotestsum"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/gotestyourself/gotestsum/archive/refs/tags/v$pkgver.tar.gz"
options="net !check" # No check available
build() {
go build -o dist/gotestsum .
}
package() {
install -Dm0755 dist/* -t "$pkgdir"/usr/bin
}
sha512sums="
85c529f0663a77cf6875b3c6bdb9f640dd4cdee32000fb8f636f3ddc8010213b64b84a8c7f7289331f50f92e613a94b87b8b459cdd69be1ef9224c307c2b9c40 gotestsum-1.12.1.tar.gz
"