0ad-data: update to 0.0.24.

This commit is contained in:
Helmut Pozimski 2021-03-01 12:30:07 +01:00
parent d0cf717375
commit ef1d1762de

View file

@ -1,14 +1,14 @@
# Template file for '0ad-data'
pkgname=0ad-data
version=0.0.23b
revision=2
wrksrc="0ad-${version}-alpha"
version=0.0.24
revision=1
create_wrksrc=yes
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=e11b4ade7ede954cbbdc1fe6e2e4b25ac6b8d5a644133b640ffc9b099338a713
checksum=929a55a6aa63c143b7fd20553375878a2e732353dbbcc757fa876b4181fdd75a
nocross=yes
case "$XBPS_TARGET_MACHINE" in
@ -16,6 +16,10 @@ case "$XBPS_TARGET_MACHINE" in
*) broken="no base game available";;
esac
do_extract() {
bsdtar xJf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/0ad-${version}-alpha-unix-data.tar.xz -C ${wrksrc}
}
do_install() {
vmkdir usr/share/0ad/data
vmkdir usr/share/0ad/data/tools