summaryrefslogtreecommitdiff
path: root/openttd-openmsx/PKGBUILD
blob: 5b599a768b52134d73aed8902739111391edc11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Tilo Brueckner  <blueperil at gmx de>
# Maintainer:  Erich Eckner    <arch at eckner dot net>

pkgname=openttd-openmsx
pkgver=0.3.1
pkgrel=3
pkgdesc="Free music set for openttd"
arch=('any')
url="http://www.openttd.org"
license=('GPL')
source=(http://bundles.openttdcoop.org/openmsx/releases/${pkgver}/openmsx-${pkgver}.zip)
sha512sums=('d17856fc70796eadb798b133af8a987ff9887c7f0d736e48bd27e9451eb122935271779b65e098e061c1316def455f56da6caa1d448e2bf111ecf8c189d3fbc8')
depends=('timidity++' 'freepats-general-midi')

build() {
    cd "${srcdir}/openmsx-${pkgver}"

    chmod 0644 *
}

package() {
    cd "${srcdir}/openmsx-${pkgver}"

    mkdir -pm0755 "${pkgdir}/usr/share/games/openttd/gm"
    cp openmsx.* "${pkgdir}/usr/share/games/openttd/gm/"
    cp *.mid "${pkgdir}/usr/share/games/openttd/gm/"
}