aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2024-02-17 11:32:14 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2024-02-17 11:33:44 +0100
commit5bdc77adc9eed7ff16ea011b116a4a78a5939afd (patch)
treeb42ba78d57fb6296e714864e08fbf7cb294d73dd /net-news
parentgui-wm/niri: drop 0.1.1 (diff)
downloadguru-5bdc77adc9eed7ff16ea011b116a4a78a5939afd.tar.gz
guru-5bdc77adc9eed7ff16ea011b116a4a78a5939afd.tar.bz2
guru-5bdc77adc9eed7ff16ea011b116a4a78a5939afd.zip
net-news/newsraft: Fix tests without native-symlinks
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'net-news')
-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