# Template file for 'colobot-data'
pkgname=colobot-data
version=0.2.2
revision=1
build_style=cmake
hostmakedepends="python3"
short_desc="Real-time strategy game, where you can program your units (data files)"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/colobot/colobot-data"
distfiles="https://github.com/colobot/colobot-data/archive/colobot-gold-${version}-alpha.tar.gz
 https://colobot.info/files/music/colobot-music_ogg_${version}-alpha.tar.gz"
checksum="5c959a65ffc6047b656339bad425e2c050d3eb826e857dd80e2a03da0418c000
 55e89d244f1f63e2467ef71253ca881ee31279f02aac9ac4706ef26c466306e9"
skip_extraction="colobot-music_ogg_${version}-alpha.tar.gz"

post_extract() {
	vsrcextract -C music --no-strip-components colobot-music_ogg_${version}-alpha.tar.gz
}
