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

@@ -1 +1,2 @@
DIST ani-cli-4.4.tar.gz 123740 BLAKE2B d857da4ea5e62ae5b3fc1585889e835656dca3c9181ab9e213b5a706614cf28e35cd0a7824620e172c74f4f058d1f8601b480eacf2e5d16caa7fd3e4345d604a SHA512 2462b888b7c01ec1ddd7aadaa51b6e8eb90fcbed1014a63faa21fc26acb9108db38b3e42d40a41d60446e2cf4524196e0b2b64da31515f859ac0a941b618cc9d
DIST ani-cli 19981 BLAKE2B 02fed707373d3569a82f845227fa282fff173c2b002b9232ea3ea9245b643c256992cd90b7aa8b825511b7114320a2627f12ef40488cb732a1f5a782c4a309a9 SHA512 c1d2256af8c88d6428c4767dc3715d12cacc869cbfe62a7fb0e0831eee9836373cdf2a042bed822868571448ed140f9f94c33303680318585d54c37f39ba7723
DIST ani-cli.1 4187 BLAKE2B c5d8515324fe6a51454a3ecd9daf145b8f21cb12dec2e2d7e898e5d343f206a9ddc2e10c998daef1cebb6fc41414d86b0f131349ec148578bc3a6f0de4c48d37 SHA512 71e1a25c9fff197e96efcdc784cf19af06ec598ea5e32aae52913df3f426bebe801fec3536f725abb181175a8ddc594987de5cda96c44292f4f65c28d9d01f45

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"
}

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"
}