# Template file for 'xonotic-data'
pkgname=xonotic-data
version=0.7.0
revision=1
wrksrc="Xonotic"
homepage="http://xonotic.org"
license="GPL-2, GPL-3"
distfiles="http://dl.xonotic.org/xonotic-${version}.zip"
makedepends="unzip"
short_desc="A free, fast-paced crossplatform first-person shooter (data files)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=21a5fb5493c269cd3843789cb8598f952d4196e8bc71804b9bd5808b646542c6

do_install() {
	vmkdir usr/share/xonotic
	cp -a data ${DESTDIR}/usr/share/xonotic
	vinstall key_0.d0pk 644 usr/share/xonotic
}

xonotic-data_package() {
	noarch="yes"
	replaces="xonotic-data>=0"
	pkg_install() {
		vmove usr
	}
}
