template 902 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Template file for 'angband'
  2. pkgname=angband
  3. version=4.2.1
  4. revision=1
  5. build_style=gnu-configure
  6. configure_args="--enable-sdl --enable-sdl-mixer"
  7. hostmakedepends="automake"
  8. makedepends="SDL_image-devel SDL_mixer-devel SDL_ttf-devel ncurses-devel"
  9. short_desc="Free, single-player dungeon exploration game"
  10. maintainer="Diogo Leal <diogo@diogoleal.com>"
  11. license="GPL-2.0-or-later"
  12. homepage="http://rephial.org/"
  13. changelog="http://rephial.org/release/"
  14. distfiles="http://rephial.org/downloads/4.2/angband-${version}.tar.gz"
  15. checksum=acd735c9d46bf86ee14337c71c56f743ad13ec2a95d62e7115604621e7560d0f
  16. post_patch() {
  17. # remove nonfree artwork and sound effects
  18. rm -v lib/sounds/*.mp3
  19. rm -v lib/tiles/shockbolt/64x64.png
  20. }
  21. pre_configure() {
  22. NOCONFIGURE=1 ./autogen.sh
  23. }
  24. do_check() {
  25. # XXX: Fix failing tests
  26. rm -rf src/tests/{game,monster}
  27. sed -i '/graphics/d' src/tests/parse/suite.mk
  28. make tests
  29. }