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

Felix Yan felixonmars at archlinux.org
Thu Apr 15 15:56:35 UTC 2021


    Date: Thursday, April 15, 2021 @ 15:56:35
  Author: felixonmars
Revision: 919121

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: openttd/repos/community-staging-x86_64/PKGBUILD (from rev 919120, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-04-15 15:56:35 UTC (rev 919121)
@@ -0,0 +1,29 @@
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.11.0
+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')
+makedepends=('cmake' 'ninja')
+optdepends=('openttd-opengfx: free graphics' 
+            'openttd-opensfx: free soundset')
+source=("https://proxy.binaries.openttd.org/openttd-releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+sha512sums=('ed3b305a1081552181f291d24a301b360b815d310704d1346fa191970121382fe745e245b04fa13e9560694a81084ae9302cf5800cd94f0fdc93414a1fbccc9d')
+
+build() {
+  cmake -G Ninja -B build -S ${pkgname}-${pkgver} \
+     -DCMAKE_INSTALL_PREFIX=/usr \
+     -DCMAKE_INSTALL_BINDIR=bin \
+     -DCMAKE_INSTALL_DATADIR=/usr/share \
+     -DGLOBAL_DATA_DIR=/usr/share/openttd
+
+  ninja -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+}



More information about the arch-commits mailing list