1234567891011121314151617181920212223242526272829303132333435 |
- # 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
- post_patch() {
- # remove nonfree artwork and sound effects
- rm -v lib/sounds/*.mp3
- rm -v lib/tiles/shockbolt/64x64.png
- }
- 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
- }
|