[arch-commits] Commit in openttd/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Apr 5 15:13:34 UTC 2019


    Date: Friday, April 5, 2019 @ 15:13:34
  Author: foutrelis
Revision: 449872

archrelease: copy trunk to community-staging-x86_64

Added:
  openttd/repos/community-staging-x86_64/
  openttd/repos/community-staging-x86_64/PKGBUILD
    (from rev 449871, openttd/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: openttd/repos/community-staging-x86_64/PKGBUILD (from rev 449871, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-04-05 15:13:34 UTC (rev 449872)
@@ -0,0 +1,38 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.8.0
+pkgrel=4
+pkgdesc='An engine for running Transport Tycoon Deluxe.'
+arch=('x86_64')
+url='https://www.openttd.org'
+license=('GPL')
+depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz')
+optdepends=('openttd-opengfx: free graphics' 
+            'openttd-opensfx: free soundset')
+source=("https://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+sha256sums=('c2d32d9d736d27202a020027a3729ae763f5432ae6f424891e57a4095eeb087f')
+
+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} \
+    --menu-name="OpenTTD"
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver} 
+
+  make install
+}



More information about the arch-commits mailing list