# Template file for 'xonotic-data-low'
pkgname=xonotic-data-low
version=0.7.0
revision=1
wrksrc="Xonotic"
homepage="http://xonotic.org"
license="GPL-2, GPL-3"
distfiles="http://dl.xonotic.org/xonotic-${version}-low.zip"
makedepends="unzip"
short_desc="A free, fast-paced crossplatform FPS (LQ data files)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=35a0e3c299ded3ee0e0b60cba94fed0ea844055972bb2e0a770497018a21711b
long_desc="
 This package contains the lower quality data files.

 Uses JPEG texture compression instead of using DDS textures compiled with S3TC.
 This build has smaller file size and has better support for opensource/legacy
 drivers, but the textures take slightly longer while loading the game."

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

xonotic-data-low_package() {
	noarch="yes"
	replaces="xonotic-data>=0"
	provides="xonotic-data-${version}"
	pkg_install() {
		vmove usr
	}
}
