blob: e3afba25d39ef159583372c7ce6c4ef0c5cc9467 (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=openmsx
pkgver=0.3.1
pkgrel=0
pkgdesc="Music files for OpenTTD"
url="https://www.openttd.org/en/"
arch="noarch"
options="!check" # No way to test MIDIs
license="GPL-2.0-only"
depends=""
makedepends="python3"
subpackages=""
source="https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-$pkgver-source.tar.gz
python3.patch
python3-bang.patch
"
builddir="$srcdir/$pkgname-$pkgver-source"
build() {
cd "$builddir"
make _V="" bundle
}
package() {
cd "$builddir"/$pkgname-$pkgver
local _file
for _file in *.mid openmsx.obm; do
install -D -m644 -g games $_file \
"$pkgdir"/usr/share/games/openttd/gm/$_file
done
}
sha512sums="e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e openmsx-0.3.1-source.tar.gz
b6690158831cb3da9e0e65a523529ee0bb694a4a8b23c89f615b2481601a71fd84caecf29430054e69afa3ffcb53cf8dd5826358d7ef89429c661dd4d47bbb74 python3.patch
f981aff74f9cd33650641badd977f38c1cbbc749198a45ca016de3be83d8bec6c4f82c0614340a11f7bda7b4b98d48e26fd03a74bbf233af6deb588874d34145 python3-bang.patch"
|