aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-news/newsraft/newsraft-9999.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-news/newsraft/newsraft-9999.ebuild b/net-news/newsraft/newsraft-9999.ebuild
index f2923dc3f..4808d8d11 100644
--- a/net-news/newsraft/newsraft-9999.ebuild
+++ b/net-news/newsraft/newsraft-9999.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/grisha/newsraft"
@@ -36,6 +38,11 @@ src_compile() {
emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
+src_test() {
+ tc-export CC # For run-check.sh
+ emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check
+}
+
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install
einstalldocs