# Contributor: Adrian Siekierka <kontakt@asie.pl>
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=openttd-opensfx
pkgver=0.2.3
pkgrel=0
pkgdesc="Free sound effect set for OpenTTD"
url="http://openttd.org/"
arch="noarch"
license="CC-SamplingPlus-1.0"
depends=""
makedepends=""
source="https://binaries.openttd.org/extra/opensfx/$pkgver/opensfx-$pkgver-all.zip"
builddir="$srcdir/opensfx-$pkgver"

package() {
	cd "$builddir"

	mkdir -p "$pkgdir/usr/share/games/openttd/data"
	install -Dm644 *.cat *.obs "$pkgdir/usr/share/games/openttd/data"
}

md5sums="3605b82f24153500c8a1804e4420168a  opensfx-0.2.3-all.zip"
sha256sums="6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02  opensfx-0.2.3-all.zip"
sha512sums="ee4f4659201f1b6829fcea3c66416573d11e50988ef33452c2e9867bee8e68ddbf978ca805802b2b4188c624e814816300e69c8b78bb80c9604841be706c96cc  opensfx-0.2.3-all.zip"
