Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c6d626890 | |||
| 97e47f3ffe | |||
| 0bc4250f39 | |||
| dcf58084cd |
@@ -1,2 +1,2 @@
|
||||
DIST gitea-runner-2.2.0-vendor.tar.xz 3049748 BLAKE2B 2d0b7ea0a42849001216a6a63b12ebd46f216a96f6f480231f04fd6589a271ee817faca368edd3a03980cd19ac31add639751dca56783aec8b30f08c9fed65f1 SHA512 f16741bdb29b6c790948f7f416171b0b943ae911a78e075e63d2cf291bd0289f7fe8a3f5bbc1a860be6f521b9b084c1dc1c3ef4be91cd0b13624053c528867a2
|
||||
DIST gitea-runner-2.2.0.tar.gz 418145 BLAKE2B 04d164cb0a064e5b828ac7fbf0958dffcdb043e17de44425b5f384ac9929dc85940f96c3617e8c729f7869fe37a1ed49b4b01df4813a0f35756faca740aa6f80 SHA512 b13df4747a2c9c24647331cf54defe4e6790799415c98d3b5635fd10a974f613faf04eaab2edbc93c1aa6fb3e9468ea5164af8354adb87c8ac5099bd32a3d609
|
||||
DIST gitea-runner-3.0.1-vendor.tar.xz 3210020 BLAKE2B cb2ed2937b9eff439978be0edb77d74c7c5cf8876719372b867ccf728e656f09b9036f00bbd92d5b416b7bc5da6a1e3783584bb007696516acaaa6bba8b918d6 SHA512 8c281985195c48408ee2a5d91ae6ecbd9a3da9d02df253c810fc96fa3437a7604c6c70b5fd793bd62d587214eb3c82fdf0d38d3c8f71761aec3099b029f4d6aa
|
||||
DIST gitea-runner-3.0.1.tar.gz 472208 BLAKE2B 74a3d070e44b0fc6a38479fb2e342cdd1769dd774d4512fa661d44a86e84f3a58886b3db97a72379a8bf9cd6d2db60241a296c609a91aae50f1b231db63968a4 SHA512 d254c9fef038952d715c31594744a482cfd25c23deed3591436ddd383dc1693987bed6963e16790576e4df1ab27c4f8fd80c2bab1b9c169dc34427c15e907d12
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# 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