blob: b6a59d6d61b224cd43d5ba11992f63ca5e6d40e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Kopia - Fast And Secure Open-Source Backup"
HOMEPAGE="https://github.com/kopia/kopia"
SRC_URI="
https://github.com/kopia/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/itaiferber/gentoo-distfiles/releases/download/${CATEGORY}/${P}/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
BDEPEND=">=dev-lang/go-1.25.0"
src_compile() {
ego build -v -x -work -o ${PN}
}
src_test() {
ego test -v $(ego list ./... | grep -v /vendor/)
}
src_install() {
dobin ${PN}
einstalldocs
}
|