summaryrefslogtreecommitdiff
path: root/user/openttd/APKBUILD
blob: 44417d5a280946c65dd8df5a19e5373d4852e941 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=openttd
pkgver=1.10.0
pkgrel=0
pkgdesc="Simulation game based on Transport Tycoon Deluxe"
url="https://www.openttd.org/en/"
arch="all"
options="!check"  # Test files not shipped in release package.
license="GPL-2.0-only"
depends="opengfx openmsx opensfx"
makedepends="fontconfig-dev freetype-dev icu-dev libpng-dev libxdg-basedir-dev
	lzo-dev sdl-dev xz-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://proxy.binaries.openttd.org/openttd-releases/$pkgver/openttd-$pkgver-source.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--install-dir="$pkgdir" \
		--disable-strip
	make
}

package() {
	make install
}

sha512sums="f1727b81a059aa04bea1fb6a9a89ae0619942d6406a77f99e642a60ea9416daa215bbd0cbd183747c2df5f6dea81766b7e04493a52211e55522e8b2642db701a  openttd-1.10.0-source.tar.xz"