#Maintainer: Christian Dersch <chrisdersch~at~googlemail~dot~com>

pkgname=openttd-openmsx
pkgver=0.3.1
pkgrel=1cd
arch=noarch
source=("http://bundles.openttdcoop.org/openmsx/releases/$pkgver/openmsx-$pkgver.zip")
url=https://dev.openttdcoop.org/projects/openmsx
docs=("changelog.txt" "license.txt" "readme.txt")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"openttd-openmsx (free set of music for openttd)"
"OpenMSX is a free set of music for the OpenTTD game." 
""
"http://bundles.openttdcoop.org/openmsx/"
)

build() {
	cd $startdir/src/openmsx-$pkgver
	mkdir -p $startdir/pkg/usr/share/games/openttd/gm
	cp -a *.mid $startdir/pkg/usr/share/games/openttd/gm
	cp -a openmsx.obm $startdir/pkg/usr/share/games/openttd/gm
}