25 lines
766 B
Bash
25 lines
766 B
Bash
# Template file for '0ad-data'
|
|
pkgname=0ad-data
|
|
version=0.0.26
|
|
revision=1
|
|
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=b200e48558f882807910e3c686567b6a396248d9d418044ecfde090b05772d7d
|
|
nocross=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*|aarch64*|armv7l*|ppc64le*) ;;
|
|
*) broken="no base game available";;
|
|
esac
|
|
|
|
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
|
|
}
|