void-packages/srcpkgs/xonotic-data/template

26 lines
653 B
Text

# Template file for 'xonotic-data'
pkgname=xonotic-data
version=0.6.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=e8a7dbfdea1ba6250ddf363f01899411f22e518526fae4f0b4f90d622fab3819
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
}
}