termux-packages/x11-packages/openttd-msx/build.sh

17 lines
721 B
Bash
Raw Normal View History

2019-06-30 00:27:50 +02:00
TERMUX_PKG_HOMEPAGE=https://bundles.openttdcoop.org/openmsx
TERMUX_PKG_DESCRIPTION="Free music set for openttd"
TERMUX_PKG_LICENSE="GPL-2.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2019-06-30 00:27:50 +02:00
TERMUX_PKG_VERSION=0.3.1
2020-07-22 18:55:30 +02:00
TERMUX_PKG_REVISION=18
2020-07-08 21:14:41 +02:00
TERMUX_PKG_SRCURL=https://cdn.openttd.org/openmsx-releases/$TERMUX_PKG_VERSION/openmsx-$TERMUX_PKG_VERSION-all.zip
2019-06-30 00:27:50 +02:00
TERMUX_PKG_SHA256=92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
install -d "$TERMUX_PREFIX"/share/openttd/data
install -m600 openmsx.obm "$TERMUX_PREFIX"/share/openttd/data
install -m600 *.mid "$TERMUX_PREFIX"/share/openttd/data
}