Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dcf58084cd | |||
| e37bcb66ab |
@@ -1,2 +1,2 @@
|
|||||||
DIST gitea-runner-2.3.0-vendor.tar.xz 3074844 BLAKE2B fc0084749e1bef15bd935da31262ba357a1bdeb21232561280d6dbbb7f0b8ad0a29b111d1168f8562e879da9dd1c75a6cf43a45a98e113627ea374384be89aaf SHA512 9276727f2988a49e6f006aa5baf6244aa84a4aaea2a62cd91e6be7a7131952b60141584c325eca333e15f1f7815ec40378d745b86f3c4627158564af47c23f11
|
DIST gitea-runner-2.2.0-vendor.tar.xz 3049748 BLAKE2B 2d0b7ea0a42849001216a6a63b12ebd46f216a96f6f480231f04fd6589a271ee817faca368edd3a03980cd19ac31add639751dca56783aec8b30f08c9fed65f1 SHA512 f16741bdb29b6c790948f7f416171b0b943ae911a78e075e63d2cf291bd0289f7fe8a3f5bbc1a860be6f521b9b084c1dc1c3ef4be91cd0b13624053c528867a2
|
||||||
DIST gitea-runner-2.3.0.tar.gz 428155 BLAKE2B 82466ad63de998054d756d506efbfd558b474d6fb05ff7a4ee2ec9e94684274d7b6057bf6332f42284dfa24613f3e16737d447dd82dc94145e130e347de02004 SHA512 68ac5129b90f01720fd04a02c4bfa4dc52724d55382904325d8b4a159cc13fcf8b30a78a0f50048968a4ea59f63e4d8f679737bdd1788087df2c036edf2011fc
|
DIST gitea-runner-2.2.0.tar.gz 418145 BLAKE2B 04d164cb0a064e5b828ac7fbf0958dffcdb043e17de44425b5f384ac9929dc85940f96c3617e8c729f7869fe37a1ed49b4b01df4813a0f35756faca740aa6f80 SHA512 b13df4747a2c9c24647331cf54defe4e6790799415c98d3b5635fd10a974f613faf04eaab2edbc93c1aa6fb3e9468ea5164af8354adb87c8ac5099bd32a3d609
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user