[arch-commits] Commit in openttd/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Apr 27 15:44:46 UTC 2020
Date: Monday, April 27, 2020 @ 15:44:46
Author: foutrelis
Revision: 621903
archrelease: copy trunk to community-staging-x86_64
Added:
openttd/repos/community-staging-x86_64/
openttd/repos/community-staging-x86_64/PKGBUILD
(from rev 621902, openttd/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: openttd/repos/community-staging-x86_64/PKGBUILD (from rev 621902, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-27 15:44:46 UTC (rev 621903)
@@ -0,0 +1,39 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.10.1
+pkgrel=2
+pkgdesc='An engine for running Transport Tycoon Deluxe.'
+arch=('x86_64')
+url='https://www.openttd.org'
+license=('GPL')
+depends=('libpng' 'sdl2' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth')
+optdepends=('openttd-opengfx: free graphics'
+ 'openttd-opensfx: free soundset')
+source=("https://proxy.binaries.openttd.org/openttd-releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+sha256sums=('0d22a3c50f7a321f4f211594f4987ac16c381e8e3e40f116848e63e91e7fbb9b')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # http://site.icu-project.org/download/61#TOC-Migration-Issues
+ CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+ ./configure \
+ --prefix-dir=/usr \
+ --binary-name=${pkgname} \
+ --binary-dir=bin \
+ --data-dir=share/${pkgname} \
+ --install-dir="${pkgdir}" \
+ --doc-dir=share/doc/${pkgname} \
+ --with-fluidsynth \
+ --menu-name="OpenTTD"
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make install
+}
More information about the arch-commits
mailing list