void-packages/srcpkgs/xonotic-data/template

20 lines
568 B
Bash

# Template file for 'xonotic-data'
pkgname=xonotic-data
version=0.8.2
revision=2
archs=noarch
wrksrc=Xonotic
hostmakedepends="unzip"
short_desc="Free, fast-paced crossplatform first-person shooter (data files)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2, GPL-3"
homepage="http://xonotic.org"
distfiles="http://dl.xonotic.org/xonotic-${version}.zip"
checksum=a22f7230f486c5825b55cfdadd73399c9b0fae98c9e081dd8ac76eca08359ad5
do_install() {
vmkdir usr/share/xonotic
cp -a data ${DESTDIR}/usr/share/xonotic
vinstall key_0.d0pk 644 usr/share/xonotic
}