net-news/newsraft: new package, add 0.19, 9999

Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
This commit is contained in:
Efe İzbudak 2023-07-13 10:27:20 -04:00
parent bd4613a133
commit 23fb46eb48
No known key found for this signature in database
GPG Key ID: 360E3F03E5FC37FA
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST newsraft-0.19.tar.gz 175794 BLAKE2B 6d665c0bf56da68e123e4662cbdc857599206f9a90e753c7d0f16ffdea2b0f67d4a338f7954eb5f5f2426e1ae7238f64623939f11e5a07e37846e7c11d76c293 SHA512 d9f59f500891b37ef15796a8ec66a5249c3ef3cc5112d2230bf1f606d78f7332ccc17d5846bf9c30a268951059d3a805de651c2b8c3a607572f59126b3d308f0

View File

@ -0,0 +1,38 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/grisha/newsraft"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/grisha/newsraft.git"
else
SRC_URI="https://codeberg.org/grisha/newsraft/archive/${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
LICENSE="ISC"
SLOT="0"
DEPEND="
dev-db/sqlite:3
dev-libs/expat
dev-libs/gumbo
dev-libs/yajl
net-misc/curl
sys-libs/ncurses
"
RDEPEND="${DEPEND}"
BDEPEND="
app-text/scdoc
virtual/pkgconfig
"
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs
}

View File

@ -0,0 +1,38 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/grisha/newsraft"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/grisha/newsraft.git"
else
SRC_URI="https://codeberg.org/grisha/newsraft/archive/${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
LICENSE="ISC"
SLOT="0"
DEPEND="
dev-db/sqlite:3
dev-libs/expat
dev-libs/gumbo
dev-libs/yajl
net-misc/curl
sys-libs/ncurses
"
RDEPEND="${DEPEND}"
BDEPEND="
app-text/scdoc
virtual/pkgconfig
"
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs
}