termux-packages/packages/angband/build.sh

27 lines
799 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://rephial.org/
2017-03-27 01:56:11 +02:00
TERMUX_PKG_DESCRIPTION="Dungeon exploration adventure game"
2019-01-20 22:39:59 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2022-03-01 21:15:34 +01:00
TERMUX_PKG_VERSION=4.2.4
TERMUX_PKG_SHA256=8cf30b0f5c4d096e18a2896b81e5a8fa82215ebdcd3037502673fb70a6c30779
2021-06-10 20:05:58 +02:00
TERMUX_PKG_SRCURL=https://github.com/angband/angband/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
2017-07-16 18:42:11 +02:00
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
2021-06-10 20:05:58 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-x11
--bindir=$TERMUX_PREFIX/bin
--sysconfdir=$TERMUX_PREFIX/share/angband
"
TERMUX_PKG_RM_AFTER_INSTALL="
share/angband/fonts
share/angband/icons
share/angband/sounds
share/angband/xtra
"
TERMUX_PKG_GROUPS="games"
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
}