# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=xonotic-data
pkgver=0.8.6
pkgrel=0
pkgdesc="Data files for Xonotic"
url="https://www.xonotic.org/"
arch="noarch !s390x" # save space on builders
license="GPL-2.0-or-later"
options="!check"
source="$pkgname-$pkgver.zip::https://dl.xonotic.org/${pkgname%-*}-$pkgver.zip"
builddir="$srcdir"/Xonotic

package() {
	mkdir -p "$pkgdir"/usr/share/xonotic/
	mv "$srcdir"/Xonotic/data "$pkgdir"/usr/share/xonotic/
}

sha512sums="
cb39879e96f19abb2877588c2d50c5d3e64dd68153bec3dd1bebedf4d765e506afa419c28381d7005aed664cb1a042571c132b5b319e4308cab67745d996c2a6  xonotic-data-0.8.6.zip
"
