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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"openttd-opensfx (free set of sounds for openttd)"
"OpenSFX is a free set of sounds for the OpenTTD game. It is a "
"replacement for the original non-free sounds of the original TTD."
""
"NOTE: Please do not install OpenSFX in addition to the TTD files, "
"remove the TTD sounds or do not install this package."
""
"http://bundles.openttdcoop.org/opensfx/"
)

build() {
	cd $startdir/src/opensfx-$pkgver
	mkdir -p $startdir/pkg/usr/share/games/openttd/data
	cp -a opensfx.* $startdir/pkg/usr/share/games/openttd/data
}