termux-packages/packages/brogue/build.sh

18 lines
590 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=https://sites.google.com/site/broguegame/
TERMUX_PKG_DESCRIPTION="Roguelike dungeon crawling game"
2019-01-20 22:39:59 +01:00
TERMUX_PKG_LICENSE="AGPL-V3"
2018-10-07 19:20:26 +02:00
TERMUX_PKG_VERSION=1.7.5
TERMUX_PKG_SHA256=a74ff18139564c597d047cfb167f74ab1963dd8608b6fb2e034e7635d6170444
TERMUX_PKG_SRCURL=https://sites.google.com/site/broguegame/brogue-${TERMUX_PKG_VERSION}-linux-amd64.tbz2
2017-03-27 01:56:11 +02:00
TERMUX_PKG_DEPENDS="ncurses"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_EXTRA_MAKE_ARGS="curses"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
2016-09-01 20:02:12 +02:00
CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS"
}
2015-06-13 01:03:31 +02:00
termux_step_make_install() {
2015-06-13 01:03:31 +02:00
cp bin/brogue $TERMUX_PREFIX/bin
}