Files
azy5030-overlay/dev-util/gitea-runner/gitea-runner-3.0.1.ebuild
T
azy5030 6c6d626890
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled
dev-util/gitea-runner: bump to 3.0.1 (#12)
Automated bump of `dev-util/gitea-runner` from 3.0.0 to 3.0.1.

- Upstream release: https://gitea.com/gitea/runner/releases/tag/v3.0.1
- Vendor tarball: https://git.azy.dev/azy5030/azy5030-overlay/releases/tag/gitea-runner-3.0.1-vendor

Review checklist:
- [ ] LICENSE still covers all vendored module licenses (`go-licenses report ./...`)
- [ ] BDEPEND Go version matches upstream go.mod (set to >=1.26.0)
- [ ] version ldflags path `internal/pkg/ver.version` unchanged upstream

CI build + `gitea-runner --version` passed in this workflow.

---------

Co-authored-by: gitea-actions <actions@azy.dev>
Reviewed-on: #12
2026-09-20 15:49:21 -05:00

38 lines
990 B
Bash

# Copyright 2026 Ali Zein Yousuf
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Gitea Actions runner (formerly act_runner)"
HOMEPAGE="https://gitea.com/gitea/runner"
SRC_URI="
https://gitea.com/api/v1/repos/gitea/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://git.azy.dev/azy5030/azy5030-overlay/releases/download/${PN}-${PV}-vendor/${P}-vendor.tar.xz
"
S="${WORKDIR}/runner"
# Upstream is MIT; the remaining licenses cover the vendored Go modules that
# are statically linked into the binary.
LICENSE="MIT Apache-2.0 BSD BSD-2 ISC MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.26.0"
# The runner shells out to the docker client for the Docker backend.
RDEPEND="app-containers/docker-cli"
src_compile() {
local ldflags=(
-s -w
-X "gitea.com/gitea/runner/internal/pkg/ver.version=v${PV}"
)
ego build -ldflags="${ldflags[*]}" -o gitea-runner .
}
src_install() {
dobin gitea-runner
einstalldocs
}