termux-packages/disabled-packages/nethack/build.sh
Fredrik Fornwall 51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00

15 lines
376 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.nethack.org/
TERMUX_PKG_DESCRIPTION="Dungeon crawl game"
TERMUX_PKG_VERSION=3.6.0
TERMUX_PKG_SRCURL=https://s3.amazonaws.com/altorg/nethack/nethack-360-src.tgz
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="ncurses"
termux_step_make_install () {
cd $TERMUX_PKG_SRCDIR/sys/unix
sh setup.sh hints/linux
cd $TERMUX_PKG_SRCDIR
make install
}