2017-03-27 01:56:11 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://rephial.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Dungeon exploration adventure game"
|
2018-08-08 11:51:31 +02:00
|
|
|
TERMUX_PKG_VERSION=4.1.3
|
|
|
|
TERMUX_PKG_SHA256=9402c4f8da691edbd4567a948c5663e1066bee3fcb4a62fbcf86b5454918406f
|
2017-07-16 18:42:11 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://rephial.org/downloads/4.1/angband-${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_DEPENDS="ncurses"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
2015-09-09 16:38:01 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-x11 --bindir=$TERMUX_PREFIX/bin --sysconfdir=$TERMUX_PREFIX/share/angband"
|
2016-05-03 02:44:44 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/angband/xtra share/angband/icons"
|
2015-09-09 16:38:01 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure () {
|
|
|
|
./autogen.sh
|
|
|
|
perl -p -i -e 's|ncursesw5-config|ncursesw6-config|g' configure
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install () {
|
|
|
|
rm -Rf $TERMUX_PREFIX/share/angband/{fonts,sounds}
|
|
|
|
}
|