app-misc/ani-cli: pull only script & man

Suggested-by: jbara <medanisjbara@proton.me>
Closes: https://github.com/gentoo/guru/pull/98
Signed-off-by: tastytea <gentoo@tastytea.de>
This commit is contained in:
jbara
2023-06-06 20:33:34 +01:00
committed by tastytea
parent 64d08f48fa
commit 6b81b4b6db
3 changed files with 16 additions and 7 deletions

View File

@@ -9,7 +9,11 @@ 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"
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"
@@ -25,6 +29,6 @@ DEPEND="
RDEPEND="${DEPEND}"
src_install() {
dobin ani-cli
doman ani-cli.1
dobin "${SRC_URI:+$DISTDIR/}ani-cli"
doman "${SRC_URI:+$DISTDIR/}ani-cli.1"
}