void-packages/srcpkgs/0ad-data/template

21 lines
675 B
Bash

# Template file for '0ad-data'
pkgname=0ad-data
version=0.0.23
revision=1
noarch=yes
wrksrc="0ad-${version}-alpha"
short_desc="Historically-based real-time strategy game (data files)"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="CC-BY-SA-3.0"
homepage="https://play0ad.com"
distfiles="https://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz"
checksum=fdbf774637252dbedf339fbe29b77d7d585ab53a9a5ddede56dd7b8fda66d8ac
do_install() {
vmkdir usr/share/0ad/data
vmkdir usr/share/0ad/data/tools
vcopy binaries/data/mods usr/share/0ad/data
vcopy binaries/data/config usr/share/0ad/data
vcopy binaries/data/tools/atlas usr/share/0ad/data/tools
}