app-misc/ani-cli: bump to 4.7

Closes: https://github.com/gentoo/guru/pull/100
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2023-12-12 10:36:36 +01:00
parent 4e36d23b5a
commit d2b278fb86
3 changed files with 41 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
# 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/${PN}/releases/download/v${PV}/ani-cli -> ${P}
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1 -> ${P}.1
"
S="${WORKDIR}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
media-video/mpv
app-shells/fzf
media-video/ffmpeg
net-misc/aria2"
RDEPEND="${DEPEND}"
src_install() {
newbin "${DISTDIR}/${P}" "${PN}"
newman "${DISTDIR}/${P}.1" "${PN}.1"
}