summaryrefslogtreecommitdiff
path: root/user/openttd/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 21:05:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 21:05:05 +0000
commit0eb7d69828e2f7747b1c8a56eeea076b91fa0d56 (patch)
treec1a82746c5bd8849f7ae75c40ed60181a07b3120 /user/openttd/APKBUILD
parenta3a3dd263678e11f5f8da4ae05ca28183e9c205b (diff)
downloadpackages-0eb7d69828e2f7747b1c8a56eeea076b91fa0d56.tar.gz
packages-0eb7d69828e2f7747b1c8a56eeea076b91fa0d56.tar.bz2
packages-0eb7d69828e2f7747b1c8a56eeea076b91fa0d56.tar.xz
packages-0eb7d69828e2f7747b1c8a56eeea076b91fa0d56.zip
user/openttd: new package
Diffstat (limited to 'user/openttd/APKBUILD')
-rw-r--r--user/openttd/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/openttd/APKBUILD b/user/openttd/APKBUILD
new file mode 100644
index 000000000..63df0988e
--- /dev/null
+++ b/user/openttd/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=openttd
+pkgver=1.8.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://binaries.openttd.org/releases/1.8.0/openttd-$pkgver-source.tar.xz
+ icu61.patch
+ "
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --install-dir="$pkgdir" \
+ --disable-strip
+ make
+}
+
+package() {
+ cd "$builddir"
+ make install
+}
+
+sha512sums="a2d61b3c94a550c8f3a581127df8c3459b1ddff5ba924942c468cbc70e88e0bf4405cecb68a91243b544ead64f215aa8d489a07b38dce507ae7d59e8ec155d7a openttd-1.8.0-source.tar.xz
+db470433bcc68688b1a4cf71a514879c139300a778feb3f832bff0400b578d4b7720df6e259a86013334a661fce56c66d74aaf709d0027cf9638f006bebca10e icu61.patch"