# Template file for 'colobot-data'
pkgname=colobot-data
version=0.2.0
revision=1
create_wrksrc=yes
build_wrksrc="colobot-data-colobot-gold-${version}-alpha"
build_style=cmake
hostmakedepends="python3"
short_desc="Real-time strategy game, where you can program your units (data files)"
maintainer="Marcin Puc <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="4d6932f73830fa4ee9f37f6a18254c306fa804f74a2d78e9db7cb866a3a46a8b
 55e89d244f1f63e2467ef71253ca881ee31279f02aac9ac4706ef26c466306e9"

post_extract() {
	mv ${wrksrc}/*.ogg ${wrksrc}/LICENSE.txt ${wrksrc}/${build_wrksrc}/music/
}
