From d6aa265c29850bd799c3691c9bc3eeabd4c5ca2a Mon Sep 17 00:00:00 2001 From: Simon Grout Date: Wed, 9 Sep 2026 17:05:12 +0100 Subject: [PATCH] nethack: Add curses interface --- srcpkgs/nethack/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index 902b9dc7ba15ab..62f65feb7a2165 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -1,7 +1,7 @@ # Template file for 'nethack' pkgname=nethack version=5.0.0 -revision=1 +revision=2 conf_files="/etc/nethack/sysconf" make_dirs="/var/games/nethack/save 0775 nethack nethack" hostmakedepends="flex groff" @@ -23,6 +23,7 @@ do_configure() { do_build() { make all \ CC="$CC" LINK="$CC" LFLAGS="$LDFLAGS" LEX=flex \ + WANT_WIN_CURSES=1 \ COLCMD="sed 's/.\x08//g'" \ HACKDIR="/var/games/nethack" } @@ -43,6 +44,7 @@ do_install() { GAMEPERM=0755 \ DIRPERM=0775 \ VARDIRPERM=0775 \ + WANT_WIN_CURSES=1 \ CHOWN=: CHGRP=: LEX=Flex mv $DESTDIR/usr/lib/nethack/nhdat $DESTDIR/var/games/nethack