author | Alexander Rødseth
<xyproto@archlinux.org> 2021-04-22 12:48:53 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2021-04-22 12:48:53 UTC |
parent | d85aa86ab7f6ff8d37635139752242cb68b2e3ac |
PKGBUILD | +22 | -18 |
diff --git a/PKGBUILD b/PKGBUILD index 46cba61..d198101 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,29 +1,33 @@ -# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> +# Contributor: Vesa Kaihlavirta <vegai@iki.fi> pkgname=openttd -pkgver=1.11.0 -pkgrel=2 -pkgdesc='An engine for running Transport Tycoon Deluxe.' -arch=('x86_64') +pkgver=1.11.1 +pkgrel=1 +pkgdesc='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' +license=(GPL) +depends=(fluidsynth fontconfig hicolor-icon-theme libpng sdl2) +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') +source=("https://proxy.binaries.openttd.org/openttd-releases/$pkgver/$pkgname-$pkgver-source.tar.xz") +b2sums=('84a087c3f1209ebe58e309a9f39576feeabf12517d9a3632d45503ed61a81378e47395393e190825c8b9137442910a02d1476a55c44e14dd6706c09fd8d705e3') 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 - + cmake \ + -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_BINDIR=bin \ + -DCMAKE_INSTALL_DATADIR=/usr/share \ + -DGLOBAL_DATA_DIR=/usr/share/openttd \ + -G Ninja \ + -S $pkgname-$pkgver ninja -C build } package() { - DESTDIR="${pkgdir}" ninja -C build install + DESTDIR="$pkgdir" ninja -C build install }