aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiFei Zhu <zhuyifei1999@gmail.com>2023-11-11 01:01:39 -0800
committerYiFei Zhu <zhuyifei1999@gmail.com>2023-11-11 01:16:50 -0800
commit38c25be6e3aa40cb7c00aa4965bf86f9d3f9b92e (patch)
treeb9c178056be3f77588b37bd0e0ec247f076622f8 /app-backup
parentmedia-sound/tidal-hifi-bin: fix broken symlink round 2 (diff)
downloadguru-38c25be6e3aa40cb7c00aa4965bf86f9d3f9b92e.tar.gz
guru-38c25be6e3aa40cb7c00aa4965bf86f9d3f9b92e.tar.bz2
guru-38c25be6e3aa40cb7c00aa4965bf86f9d3f9b92e.zip
app-backup/kopia: new package, add 0.15.0
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/kopia/Manifest2
-rw-r--r--app-backup/kopia/kopia-0.15.0.ebuild30
-rw-r--r--app-backup/kopia/metadata.xml11
3 files changed, 43 insertions, 0 deletions
diff --git a/app-backup/kopia/Manifest b/app-backup/kopia/Manifest
new file mode 100644
index 000000000..38b4bbb36
--- /dev/null
+++ b/app-backup/kopia/Manifest
@@ -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
diff --git a/app-backup/kopia/kopia-0.15.0.ebuild b/app-backup/kopia/kopia-0.15.0.ebuild
new file mode 100644
index 000000000..48eaf7d1e
--- /dev/null
+++ b/app-backup/kopia/kopia-0.15.0.ebuild
@@ -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
+}
diff --git a/app-backup/kopia/metadata.xml b/app-backup/kopia/metadata.xml
new file mode 100644
index 000000000..c77a5b59a
--- /dev/null
+++ b/app-backup/kopia/metadata.xml
@@ -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>