app-misc/ani-cli: update SRC_URI

Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
This commit is contained in:
Denis Strizhkin
2024-02-25 14:41:58 +03:00
parent 2da7cb0001
commit 29c3e8f3b9
3 changed files with 12 additions and 15 deletions

View File

@@ -6,15 +6,14 @@ 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"
EGIT_REPO_URI="https://github.com/pystardust/${PN}.git"
inherit git-r3
else
SRC_URI="
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli -> ${P}
https://github.com/pystardust/${PN}/releases/download/v${PV}/ani-cli.1 -> ${P}.1
https://github.com/pystardust/${PN}/archive/refs/tags/v${PV}.tar.gz
"
S="${WORKDIR}"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P}"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="GPL-3"
@@ -29,6 +28,6 @@ DEPEND="
RDEPEND="${DEPEND}"
src_install() {
newbin "${DISTDIR}/${P}" "${PN}"
newman "${DISTDIR}/${P}.1" "${PN}.1"
dobin "${PN}"
doman "${PN}.1"
}