termux-packages/packages/angband/build.sh

18 lines
781 B
Bash
Raw Normal View History

2015-11-08 07:02:27 +01:00
TERMUX_PKG_VERSION=4.0.3
2015-07-24 00:30:43 +02:00
TERMUX_PKG_SRCURL=http://rephial.org/downloads/4.0/angband-${TERMUX_PKG_VERSION}.tar.gz
2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://rephial.org/
TERMUX_PKG_DESCRIPTION="Dungeon exploration game where you play an adventurer seeking riches, fighting monsters and preparing for a final battle with Morgoth, the Lord of Darkness"
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
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"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="share/angband/xtra"
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}
}