diff options
Diffstat (limited to 'libre/openttd/PKGBUILD')
-rw-r--r-- | libre/openttd/PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD index fa0c264c8..f8f7e70e5 100644 --- a/libre/openttd/PKGBUILD +++ b/libre/openttd/PKGBUILD @@ -2,18 +2,19 @@ # Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# parabola changes and rationale: +# - removed recommendation for non-free openttd-opensfx + pkgname=openttd pkgver=1.8.0 pkgrel=3 -pkgrel+=.par1 +pkgrel+=.par2 pkgdesc='An engine for running Transport Tycoon Deluxe.' -pkgdesc+=' (without nonfree openttd-opensfx recommendation)' 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') -depends+=('icu>=63' 'icu<64') optdepends=('openttd-opengfx: free graphics') source=("https://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") sha256sums=('c2d32d9d736d27202a020027a3729ae763f5432ae6f424891e57a4095eeb087f') @@ -37,6 +38,10 @@ build() { } package() { + local _icu_ver + _icu_ver=$(pacman -S --print-format='%v' icu) + depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") + cd ${pkgname}-${pkgver} make install |