angband: update to 4.2.4.
This commit is contained in:
parent
a0afb4473d
commit
ee5196b629
|
@ -0,0 +1,11 @@
|
|||
--- a/src/tests/test-utils.c
|
||||
+++ b/src/tests/test-utils.c
|
||||
@@ -30,7 +30,7 @@
|
||||
void set_file_paths(void) {
|
||||
char configpath[512], libpath[512], datapath[512];
|
||||
|
||||
- my_strcpy(configpath, DEFAULT_CONFIG_PATH, sizeof(configpath));
|
||||
+ my_strcpy(configpath, "../../lib", sizeof(configpath));
|
||||
my_strcpy(libpath, DEFAULT_LIB_PATH, sizeof(libpath));
|
||||
my_strcpy(datapath, DEFAULT_DATA_PATH, sizeof(datapath));
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'angband'
|
||||
pkgname=angband
|
||||
version=4.2.1
|
||||
version=4.2.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-sdl --enable-sdl-mixer"
|
||||
make_check_target="tests"
|
||||
hostmakedepends="automake"
|
||||
makedepends="SDL_image-devel SDL_mixer-devel SDL_ttf-devel ncurses-devel"
|
||||
short_desc="Free, single-player dungeon exploration game"
|
||||
|
@ -12,17 +13,8 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://rephial.org/"
|
||||
changelog="https://rephial.org/release/"
|
||||
distfiles="https://github.com/angband/angband/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=acd735c9d46bf86ee14337c71c56f743ad13ec2a95d62e7115604621e7560d0f
|
||||
checksum=8cf30b0f5c4d096e18a2896b81e5a8fa82215ebdcd3037502673fb70a6c30779
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
do_check() {
|
||||
# XXX: Fix failing tests
|
||||
rm -rf src/tests/{game,monster}
|
||||
|
||||
sed -i '/graphics/d' src/tests/parse/suite.mk
|
||||
|
||||
make tests
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue