app-misc/ani-cli: add 4.0 & 9999, drop old

Closes: https://github.com/gentoo/guru/pull/88
Signed-off-by: Med Anis Jbara <med.anis.jbara.2000@gmail.com>
Signed-off-by: Nickolas Raymond Kaczynski <nrk@disroot.org>
This commit is contained in:
jbara
2023-01-29 14:20:34 +01:00
committed by Nickolas Raymond Kaczynski
parent e1322b8805
commit f6feb803ae
5 changed files with 65 additions and 27 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A cli to browse and watch anime."
HOMEPAGE="https://github.com/pystardust/ani-cli"
if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git"
inherit git-r3
else
SRC_URI="https://github.com/pystardust/ani-cli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="
media-video/mpv
app-shells/fzf
media-video/ffmpeg
net-misc/aria2"
RDEPEND="${DEPEND}"
src_install() {
dobin ani-cli
doman ani-cli.1
}