void-packages/srcpkgs/angband/template

27 lines
653 B
Bash

# Template file for 'angband'
pkgname=angband
version=4.1.2
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="SDL_image-devel SDL_mixer-devel"
short_desc="A free, single-player dungeon exploration game"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2"
homepage="http://rephial.org/"
distfiles="http://rephial.org/downloads/4.1/angband-${version}.tar.gz"
checksum=30bc0979e0845cdc43de2a8f65c4d54d03d24d402b32b8589fbbc368ccfa0e2a
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
}