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


                                                  
            








                                        
                                                                                        
                          



                                          



                         
                                              




                                                                   
                                                                                                                                                                         
                                                                                                                                                     
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=openmsx
pkgver=0.4.2
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://cdn.openttd.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.xz
	python3-bang.patch
	"
builddir="$srcdir/$pkgname-$pkgver-source"

build() {
	make _V="" bundle
}

package() {
	for _file in src/*.mid openmsx.obm; do
		install -D -m644 -g games $_file \
			"$pkgdir"/usr/share/games/openttd/gm/$_file
	done
}

sha512sums="65a06792032d0a7f6db5c9495bf5b382fdc29ca84db0535b61ea95b57e8ef961820e75dad2f8dc74de0608502839bea7af28fd342756ebfcc12ee8ac1f5553ab  openmsx-0.4.2-source.tar.xz
f981aff74f9cd33650641badd977f38c1cbbc749198a45ca016de3be83d8bec6c4f82c0614340a11f7bda7b4b98d48e26fd03a74bbf233af6deb588874d34145  python3-bang.patch"