summaryrefslogblamecommitdiff
path: root/user/openttd/APKBUILD
blob: 3831b7b869a550b3fa4b94609d2c2ee3e7a7f5a6 (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.10.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="03de85449a458c76c07d8a28c34f72bc95ab0652c666e5925da43746cdd4e95b0d66360b6e214d1df33f11b5346da2e3b9ca6832ac6628c7d6e5e0a791881683  openttd-1.10.2-source.tar.xz"