aboutsummaryrefslogtreecommitdiffstats
path: root/app-misc/ani-cli/ani-cli-4.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/ani-cli/ani-cli-4.4.ebuild')
-rw-r--r--app-misc/ani-cli/ani-cli-4.4.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/ani-cli/ani-cli-4.4.ebuild b/app-misc/ani-cli/ani-cli-4.4.ebuild
new file mode 100644
index 0000000..89d651b
--- /dev/null
+++ b/app-misc/ani-cli/ani-cli-4.4.ebuild
@@ -0,0 +1,40 @@
+# 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
+}