summaryrefslogtreecommitdiff
path: root/libre/openttd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/openttd/PKGBUILD')
-rw-r--r--libre/openttd/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD
index 2e3d6bffa..804a11646 100644
--- a/libre/openttd/PKGBUILD
+++ b/libre/openttd/PKGBUILD
@@ -4,17 +4,22 @@
# parabola changes and rationale:
# - removed recommendation for non-free openttd-opensfx
+# - depends on individual icu libraries to prevent upgrade breakages and
+# enable Parabola to provide older icu libraries in a separate package to
+# make transition easier for Parabola contributors. See the comments in
+# the icu-parabola PKGBUILD for more details.
pkgname=openttd
pkgver=1.9.3
pkgrel=2
-pkgrel+=.parabola3
+pkgrel+=.parabola4
pkgdesc='An engine for running Transport Tycoon Deluxe.'
arch=('x86_64')
arch+=('i686' 'armv7h')
url='https://www.openttd.org'
license=('GPL')
-depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth')
+depends=('libpng' 'sdl' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth')
+depends+=('libicui18n.so' 'libicuuc.so' 'libicudata.so')
optdepends=('openttd-opengfx: free graphics')
source=("https://proxy.binaries.openttd.org/openttd-releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
sha256sums=('1988e17f5b6f4b8f423c849ef1c579c21f678722ae4440f87b27a5fea6385846')
@@ -40,10 +45,6 @@ build() {
}
package() {
- local _icu_ver
- _icu_ver=$(pacman -S --print-format='%v' icu-parabola)
- depends+=("icu-parabola>=${_icu_ver}" "icu-parabola<$((${_icu_ver%%.*} + 1))")
-
cd ${pkgname}-${pkgver}
make install