moria: update to 5.7.14
And fix path to help and score file.
This commit is contained in:
parent
9179e35917
commit
2cf76ea919
@ -2,16 +2,15 @@ TERMUX_PKG_HOMEPAGE=https://umoria.org
|
||||
TERMUX_PKG_DESCRIPTION="Rogue-like game with an infinite dungeon"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=5.7.13
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION=5.7.14
|
||||
TERMUX_PKG_SRCURL=https://github.com/dungeons-of-moria/umoria/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=a9dae819aca650ea2cd0a5d05853d768f815617ff61de87962325231758f62b9
|
||||
TERMUX_PKG_SHA256=6c5cfd470ba15b2a93606bfa7b655683ace9e55dc783053346849881fdb17f2c
|
||||
TERMUX_PKG_DEPENDS="libc++, ncurses"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dbuild_dir=$TERMUX_PKG_BUILDDIR"
|
||||
|
||||
termux_step_create_debscripts() {
|
||||
# Create scores file in a debscript, so an update to the package wouldn't erease any scores
|
||||
echo "mkdir -p $TERMUX_PREFIX/var/games/moria/" > postinst
|
||||
echo "touch $TERMUX_PREFIX/var/games/moria/scores" >> postinst
|
||||
echo "mkdir -p $TERMUX_PREFIX/lib/games/moria/" > postinst
|
||||
echo "touch $TERMUX_PREFIX/lib/games/moria/scores.dat" >> postinst
|
||||
chmod 0755 postinst
|
||||
}
|
||||
|
@ -16,16 +16,16 @@
|
||||
- const std::string death_royal = "data/death_royal.txt";
|
||||
- const std::string scores = "scores.dat";
|
||||
- std::string save_game = "game.sav";
|
||||
+ const std::string splash_screen = "@TERMUX_PREFIX@/lib/games/moria/splash.txt";
|
||||
+ const std::string welcome_screen = "@TERMUX_PREFIX@/lib/games/moria/welcome.txt";
|
||||
+ const std::string splash_screen = "@TERMUX_PREFIX@/lib/games/moria/data/splash.txt";
|
||||
+ const std::string welcome_screen = "@TERMUX_PREFIX@/lib/games/moria/data/welcome.txt";
|
||||
+ const std::string license = "@TERMUX_PREFIX@/share/doc/moria/LICENSE";
|
||||
+ const std::string versions_history = "@TERMUX_PREFIX@/lib/games/moria/versions.txt";
|
||||
+ const std::string help = "@TERMUX_PREFIX@/lib/games/moria/help.txt";
|
||||
+ const std::string help_wizard = "@TERMUX_PREFIX@/lib/games/moria/help_wizard.txt";
|
||||
+ const std::string help_roguelike = "@TERMUX_PREFIX@/lib/games/moria/rl_help.txt";
|
||||
+ const std::string help_roguelike_wizard = "@TERMUX_PREFIX@/lib/games/moria/rl_help_wizard.txt";
|
||||
+ const std::string death_tomb = "@TERMUX_PREFIX@/lib/games/moria/death_tomb.txt";
|
||||
+ const std::string death_royal = "@TERMUX_PREFIX@/lib/games/moria/death_royal.txt";
|
||||
+ const std::string versions_history = "@TERMUX_PREFIX@/lib/games/moria/data/versions.txt";
|
||||
+ const std::string help = "@TERMUX_PREFIX@/lib/games/moria/data/help.txt";
|
||||
+ const std::string help_wizard = "@TERMUX_PREFIX@/lib/games/moria/data/help_wizard.txt";
|
||||
+ const std::string help_roguelike = "@TERMUX_PREFIX@/lib/games/moria/data/rl_help.txt";
|
||||
+ const std::string help_roguelike_wizard = "@TERMUX_PREFIX@/lib/games/moria/data/rl_help_wizard.txt";
|
||||
+ const std::string death_tomb = "@TERMUX_PREFIX@/lib/games/moria/data/death_tomb.txt";
|
||||
+ const std::string death_royal = "@TERMUX_PREFIX@/lib/games/moria/data/death_royal.txt";
|
||||
+ const std::string scores = "@TERMUX_PREFIX@/lib/games/moria/scores.dat";
|
||||
+ std::string save_game = "@TERMUX_PREFIX@/lib/games/moria/game.sav";
|
||||
} // namespace files
|
||||
|
Loading…
x
Reference in New Issue
Block a user