void-packages/srcpkgs/angband/template

29 lines
779 B
Bash

# Template file for 'angband'
pkgname=angband
version=4.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-sdl --enable-sdl-mixer"
hostmakedepends="automake"
makedepends="SDL_image-devel SDL_mixer-devel SDL_ttf-devel ncurses-devel"
short_desc="Free, single-player dungeon exploration game"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2.0-or-later"
homepage="http://rephial.org/"
changelog="http://rephial.org/release/"
distfiles="http://rephial.org/downloads/4.2/angband-${version}.tar.gz"
checksum=acd735c9d46bf86ee14337c71c56f743ad13ec2a95d62e7115604621e7560d0f
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
}