mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
net-misc/ffsend: add 9999
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
@@ -10,10 +10,17 @@ inherit cargo optfeature shell-completion
|
||||
DESCRIPTION="Easily and securely share files from the command line"
|
||||
HOMEPAGE="https://timvisee.com/projects/ffsend/"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/timvisee/ffsend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/beatussum/gentoo-tarballs/releases/download/latest/${P}-crates.tar.xz
|
||||
"
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/timvisee/ffsend.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/timvisee/ffsend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/beatussum/gentoo-tarballs/releases/download/latest/${P}-crates.tar.xz
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
||||
@@ -21,7 +28,6 @@ LICENSE="GPL-3"
|
||||
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DOCS=(
|
||||
res/
|
||||
@@ -30,6 +36,15 @@ DOCS=(
|
||||
SECURITY.md
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
cargo_src_install
|
||||
|
||||
Reference in New Issue
Block a user