diff options
Diffstat (limited to 'app-misc/ani-cli/ani-cli-9999.ebuild')
-rw-r--r--[l---------] | app-misc/ani-cli/ani-cli-9999.ebuild | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/app-misc/ani-cli/ani-cli-9999.ebuild b/app-misc/ani-cli/ani-cli-9999.ebuild index fb57cdf..89d651b 120000..100644 --- a/app-misc/ani-cli/ani-cli-9999.ebuild +++ b/app-misc/ani-cli/ani-cli-9999.ebuild @@ -1 +1,40 @@ -ani-cli-4.3.ebuild
\ No newline at end of file +# Copyright 2022 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/" +#SRC_URI="https://github.com/pystardust/$PN/archive/refs/tags/v$PV.tar.gz -> $P.tar.gz" +RESTRICT="mirror" + +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" +#KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-alternatives/sh + sys-apps/grep + sys-apps/sed + net-misc/curl + media-video/mpv + net-misc/aria2 + media-video/ffmpeg + app-shells/fzf" + +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + dobin ani-cli + doman ani-cli.1 +} |