mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-29 10:21:38 +02:00
30 lines
783 B
Plaintext
30 lines
783 B
Plaintext
maintainer="Achill Gilgenast <achill@achill.org>"
|
|
pkgname=github-act-runner
|
|
pkgver=0.13.0
|
|
pkgrel=1
|
|
pkgdesc="Act as self-hosted runner"
|
|
url="https://github.com/ChristopherHX/github-act-runner"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ChristopherHX/github-act-runner/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="net" # go
|
|
|
|
build() {
|
|
go build -o build/ .
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 build/github-act-runner -t "$pkgdir"/usr/bin/
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
3578385a3b63af2f3728dff9ecfe8358ed42d6f6a1e71e9ccf4f922c5c0956e035a1ac44203ed67d2ceb96341d8386ae8ee61c83b7ed5beebf8503dcebe9deb7 github-act-runner-0.13.0.tar.gz
|
|
"
|