projects/aports·blob master · refs

31 lines · 906 B

1maintainer="Achill Gilgenast <[email protected]>"
2pkgname=github-act-runner
3pkgver=0.13.0_git20260321
4_commit=25b9930ac6e8c65185dcbba863ce2ee221ce7273
5pkgrel=1
6pkgdesc="Act as self-hosted runner"
7url="https://github.com/ChristopherHX/github-act-runner"
8arch="all"
9license="MIT"
10makedepends="go"
11subpackages="$pkgname-doc"
12source="$pkgname-$_commit.tar.gz::https://github.com/ChristopherHX/github-act-runner/archive/$_commit.tar.gz"
13builddir="$srcdir/$pkgname-$_commit"
14options="net" # go
15
16build() {
17 go build -o build/ .
18}
19
20check() {
21 go test ./...
22}
23
24package() {
25 install -Dm755 build/github-act-runner -t "$pkgdir"/usr/bin/
26 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
27}
28
29sha512sums="
305d5bdf36ae3fcd1e996e0a1e9b37b693ebcf638b8fe48d3d0c02acc14f01f8595131dfac2ce4cb54fc7094615dce819da9ad366e7003fbbf0a03b92eab3d5158 github-act-runner-25b9930ac6e8c65185dcbba863ce2ee221ce7273.tar.gz
31"