termux-packages/packages/brogue/build.sh

22 lines
736 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"
TERMUX_PKG_MAINTAINER="@termux"
2018-10-07 19:20:26 +02:00
TERMUX_PKG_VERSION=1.7.5
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://github.com/termux/distfiles/releases/download/2021.01.04/brogue-${TERMUX_PKG_VERSION}-linux-amd64.tbz2
2018-10-07 19:20:26 +02:00
TERMUX_PKG_SHA256=a74ff18139564c597d047cfb167f74ab1963dd8608b6fb2e034e7635d6170444
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=true
TERMUX_PKG_GROUPS="games"
2015-06-13 01:03:31 +02:00
2016-09-01 20:02:12 +02:00
termux_step_pre_configure () {
2021-11-27 08:11:26 +01:00
CFLAGS+=" -fcommon"
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 () {
2021-11-27 08:11:26 +01:00
install -m700 bin/brogue $TERMUX_PREFIX/bin
2015-06-13 01:03:31 +02:00
}