speedie-overlay/net-news/rssread/rssread-9999.ebuild
2022-12-12 20:21:19 +01:00

35 lines
710 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Extremely basic tool for making sfeed more like newsboat."
HOMEPAGE="https://speedie.gq/iron"
LICENSE="GPL-3"
SLOT="0"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/speedie/${PN}.git"
KEYWORDS="~amd64 ~x86 ~arm ~arm64 ~ppc ~ppc64 ~riscv"
else
KEYWORDS="~amd64 ~x86 ~arm ~arm64 ~ppc ~ppc64 ~riscv"
SRC_URI="https://codeberg.org/speedie/iron/releases/download/${PV}/${P}.tar.gz"
fi
IUSE=""
DEPEND="net-news/sfeed sys-libs/ncurses"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
}
src_install() {
newbin "${WORKDIR}/${P}/${PN}" ${PN}
}