2019-03-11 12:03:32 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://umoria.org
|
2017-07-27 17:45:02 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Rogue-like game with an infinite dungeon"
|
2021-05-23 19:04:16 +02:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0-or-later"
|
2021-03-01 22:16:06 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-06-10 20:06:31 +02:00
|
|
|
TERMUX_PKG_VERSION=5.7.15
|
2021-11-27 07:34:26 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-03-11 12:03:32 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/dungeons-of-moria/umoria/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-06-10 20:06:31 +02:00
|
|
|
TERMUX_PKG_SHA256=97f76a68b856dd5df37c20fc57c8a51017147f489e8ee8866e1764778b2e2d57
|
2019-06-20 13:10:36 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, ncurses"
|
2019-04-20 23:50:54 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dbuild_dir=$TERMUX_PKG_BUILDDIR"
|
2021-12-18 10:31:10 +01:00
|
|
|
TERMUX_PKG_GROUPS="games"
|
2017-07-27 16:50:10 +02:00
|
|
|
|
2019-03-11 12:03:32 +01:00
|
|
|
termux_step_create_debscripts() {
|
2017-07-27 16:50:10 +02:00
|
|
|
# Create scores file in a debscript, so an update to the package wouldn't erease any scores
|
2021-05-22 07:53:08 +02:00
|
|
|
echo "mkdir -p $TERMUX_PREFIX/lib/games/moria/" > postinst
|
|
|
|
echo "touch $TERMUX_PREFIX/lib/games/moria/scores.dat" >> postinst
|
2017-07-27 16:50:10 +02:00
|
|
|
chmod 0755 postinst
|
|
|
|
}
|