mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
Suggested-by: jbara <medanisjbara@proton.me> Closes: https://github.com/gentoo/guru/pull/98 Signed-off-by: tastytea <gentoo@tastytea.de>
35 lines
754 B
Bash
35 lines
754 B
Bash
# 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
|
|
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1
|
|
"
|
|
S="${WORKDIR}"
|
|
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 "${SRC_URI:+$DISTDIR/}ani-cli"
|
|
doman "${SRC_URI:+$DISTDIR/}ani-cli.1"
|
|
}
|