34 lines
615 B
Bash
34 lines
615 B
Bash
# Copyright 2026 migmedia
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Official runner for Gitea"
|
|
HOMEPAGE="https://gitea.com/gitea/runner"
|
|
SRC_URI="
|
|
https://gitea.com/gitea/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://gentoo.migmedia.net/alpha-quadrant/${P}-vendor.tar.xz
|
|
"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
>=dev-lang/go-1.27.0
|
|
"
|
|
MY_PN="runner"
|
|
S="${WORKDIR}/runner"
|
|
|
|
src_compile() {
|
|
ego build
|
|
}
|
|
|
|
src_install() {
|
|
newbin runner gitea-runner
|
|
dosym -r /usr/bin/gitea-runner /usr/bin/runner
|
|
}
|