SUMMARY="Data for Sonic Robo Blast 2"
DESCRIPTION="Game assets for Sonic Robo Blast 2"
HOMEPAGE="https://srb2.org"
COPYRIGHT="1998-2020 Sonic Team Junior"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/STJr/SRB2/releases/download/SRB2_release_${portVersion}/SRB2-v229-Full.zip"
CHECKSUM_SHA256="48e644604bed81b5ce6b12ef23a2f4042d0118d0ba70f18c534dfe86ebe6f37d"
SOURCE_DIR=""

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	srb2_data = $portVersion
	"

INSTALL()
{
	mkdir -p $dataDir/srb2/
	cp music.dta $dataDir/srb2/ & cp player.dta $dataDir/srb2/
	cp models.dat $dataDir/srb2/
	cp patch_music.pk3 $dataDir/srb2/ & cp patch.pk3 $dataDir/srb2/ & cp srb2.pk3 $dataDir/srb2/ & cp zones.pk3 $dataDir/srb2/
	cp -r models $dataDir/srb2/
}
