summaryrefslogblamecommitdiff
path: root/user/openmsx/APKBUILD
blob: 04782e94498a58005207c28026a2a94d4d490d38 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                      
                          



                                          




                                       






                                                                                                                                                                         

                                                                                                                                                     
# 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() {
	make _V="" bundle
}

package() {
	cd "$builddir"/$pkgname-$pkgver
	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"