# Template file for 'swars'
#
#   limited to x86 (32bit)
archs="i686"
lib32mode="full"

pkgname=swars
version=0.3
revision=3
build_style=gnu-configure
configure_args="--with-data-path=/opt/swars/"
hostmakedepends="pkg-config"
makedepends="sdl12-compat-devel zlib-devel libopenal-devel libpng-devel
 libvorbis-devel"
depends="vorbis-tools cdparanoia"
short_desc="A SDL port of the 1996 DOS game Syndicate Wars"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="http://swars.vexillium.org/"
distfiles="http://swars.vexillium.org/files/swars-${version}.tar.bz2"
checksum=01f44e5b792d41b138d361d04810a875cfa5f897c642a2b13d0dde633fabdacb
broken="unable to fetch source"

post_install() {
	# remove useless files
	rm -r ${DESTDIR}/usr/share/doc
	vdoc "${FILESDIR}/README.voidlinux"
}
