mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
41 lines
673 B
Bash
41 lines
673 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=9
|
|
|
|
inherit go-module shell-completion
|
|
|
|
DESCRIPTION="Command line tool to interact with Gitea server"
|
|
HOMEPAGE="https://gitea.com/gitea/tea/"
|
|
|
|
SRC_URI="
|
|
https://gitea.com/gitea/tea/archive/v${PV}.tar.gz
|
|
-> ${P}.gitea.tar.gz
|
|
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
|
|
"
|
|
S="${WORKDIR}/tea"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
BDEPEND="
|
|
>=dev-lang/go-1.26
|
|
"
|
|
|
|
DOCS=( CHANGELOG.md README.md )
|
|
|
|
src_compile() {
|
|
ego build
|
|
}
|
|
|
|
src_test() {
|
|
ego test
|
|
}
|
|
|
|
src_install() {
|
|
dobin tea
|
|
newbashcomp contrib/autocomplete.sh tea
|
|
einstalldocs
|
|
}
|