app-backup/restic: Drop ebuild as the tree packaes was bumped
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
163ef0a26e
commit
40da738a3b
@ -1,2 +0,0 @@
|
|||||||
DIST restic-0.15.1-deps.tar.xz 156187800 BLAKE2B ca296c9b49a7451f9a39dcdf977153f406a34c9e9cc9676e7b9c4f8a5d5f050d1e230d28788cf0942e2ce014cfafe31a78f9fbc2b00c9a003468db039799f5a6 SHA512 4ff1e73c42ca6fe78a671c9b000beb1ba0f753b36424548655c7b42b4093e3113d00fa54d58ef14c7df5154b7c07012d6da4fd2809558b7975d7d23b46acabc7
|
|
||||||
DIST restic-0.15.1.tar.gz 23920501 BLAKE2B 9561211576c01707691a1d0d7575c6bcd0d8f3c691159d10281ecb1cce5d16f237d60fd2f998bf7ad41d2ad7f8e69fd92ce6d487769774d41bae7f5ebd0ee4d7 SHA512 54b982f87f60df506c293df12813bea2f8a0df8996453096565a0eaba2832791a35da288c2e9fac590a0eaee9aef52b2c968ee717457fab30a1974d00d1d73fe
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>holgesson@posteo.de</email>
|
|
||||||
<name>Nils Freydank</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">restic/restic</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="8"
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
|
|
||||||
DESCRIPTION="A backup program that is fast, efficient and secure"
|
|
||||||
HOMEPAGE="
|
|
||||||
https://restic.net
|
|
||||||
https://github.com/restic/restic
|
|
||||||
"
|
|
||||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
#SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
|
||||||
SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/${P}-deps.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
|
||||||
|
|
||||||
RDEPEND="sys-fs/fuse:0"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local mygoargs=(
|
|
||||||
-tags release
|
|
||||||
-ldflags "-X main.version=${PV} -s -w"
|
|
||||||
-asmflags "-trimpath=${S}"
|
|
||||||
-gcflags "-trimpath=${S}"
|
|
||||||
)
|
|
||||||
|
|
||||||
ego build "${mygoargs[@]}" -o restic ./cmd/restic
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
ego test -timeout 30m ./cmd/... ./internal/...
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin restic
|
|
||||||
|
|
||||||
newbashcomp doc/bash-completion.sh "${PN}"
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins doc/zsh-completion.zsh _restic
|
|
||||||
|
|
||||||
doman doc/man/*
|
|
||||||
dodoc doc/*.rst
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user