app-backup/kopia: new package, add 0.15.0

Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
YiFei Zhu
2023-11-11 01:01:39 -08:00
parent 9319d9592a
commit 38c25be6e3
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST kopia-0.15.0-deps.tar.xz 256837112 BLAKE2B 4ef21c56d41434985b8b6cf3be1302deeb847941d4fbe39958f2d3c03f2fa0f19dd216646cc5d063d712f3a26f8b8bf440bebe945670877b186cb3c40a771b16 SHA512 5a4ec3c0cae5d6bf83e7f4b37a5bce231591a209d11d8472b5ca0b92f94a1021b2ddc4a10bcf438dc6f09ccafef1f61158a3f213bbdc6f5dcc0dfdd3f94ed0a4
DIST kopia-0.15.0.tar.gz 2968507 BLAKE2B 316573b4772f88182dcbfe10cfd428ecf0d5c8f9edf5bf820c1d73d1dc683dcf78cace709f091bfe9904d93e786ca815960c5b44e45b5b685e128816230ec5d8 SHA512 c12e75457d6a77d6968f1e577efdb5703ce6fa99991e3088a73e9b5dfa51fdfa96d8264e62a9fad1b2ee8ce07d98ca3bfd986acbc4dac277b2a84ec3187cfd97

View File

@@ -0,0 +1,30 @@
# Copyright 2023 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://storage.googleapis.com/zhuyifei-static/gentoo/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 MIT BSD BSD-2 CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
src_compile() {
ego build -v -x -work -o ${PN}
}
src_test() {
ego test -v $(ego list ./... | grep -v /vendor/)
}
src_install() {
dobin ${PN}
einstalldocs
}

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zhuyifei1999@gmail.com</email>
<name>YiFei Zhu</name>
</maintainer>
<upstream>
<remote-id type="github">kopia/kopia</remote-id>
</upstream>
</pkgmetadata>