# Template file for 'warsow-data'
pkgname=warsow-data
version=1.5
revision=1
noarch="yes"
wrksrc="warsow_15"
short_desc="Free online multiplayer competitive FPS based on the Qfusion engine (data files)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Warsow Content License - /usr/share/licenses/warsow/license.txt"
homepage="http://www.warsow.net/"
distfiles="http://www.warsow.eu/warsow_15_unified.tar.gz"
checksum=4b4715d45339bdabfc94d4385df4defac0974743061f63e6a025460ab24668d7

do_install() {
	vmkdir usr/share/warsow/basewsw
	vcopy "basewsw/*" usr/share/warsow/basewsw
	find ${DESTDIR}/usr/share/warsow -type d | xargs chmod 755
	find ${DESTDIR}/usr/share/warsow -type f | xargs chmod 644
	vinstall docs/license.txt 644 usr/share/licenses/warsow
}
