aboutsummaryrefslogtreecommitdiff
blob: da5959a8dc5af8af3ef3d99b2a9b41e7e5b1434d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}