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

pkgname=swars
version=0.3
revision=2
build_style=gnu-configure
configure_args="--with-data-path=/opt/swars/"
hostmakedepends="pkg-config"
makedepends="SDL-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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://swars.vexillium.org/"
distfiles="http://swars.vexillium.org/files/swars-${version}.tar.bz2"
checksum=01f44e5b792d41b138d361d04810a875cfa5f897c642a2b13d0dde633fabdacb

post_install() {
	# remove useless files
	rm -r ${DESTDIR}/usr/share/doc
}
