35 lines
712 B
Bash
35 lines
712 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.site/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}
|
|
}
|