app-misc/ani-cli: add 4.10

Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
This commit is contained in:
Denis Strizhkin
2025-05-02 18:55:30 +03:00
parent dccaf10489
commit 550b3b9828
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# 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/${PN}.git"
inherit git-r3
else
SRC_URI="
https://github.com/pystardust/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
S="${WORKDIR}/${P}"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
app-shells/fzf
media-video/mpv
net-misc/aria2
net-misc/curl
net-misc/yt-dlp
"
RDEPEND="${DEPEND}"
src_install() {
dobin "${PN}"
doman "${PN}.1"
}