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


                                                  
            









                                                                              
                                                                                                  

         









                                         


                    
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=openttd
pkgver=1.9.2
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="a84a219c049147e9566967f96a01c84dde587e38da37b34ef756da99a2d14f1d418492030098f63c4ac60cb0db553f474aaf3b8a00c8abfd98f66adc14f523e4  openttd-1.9.2-source.tar.xz"