From 07d5040a533cebf3760232a87413ae66d365ce9a Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 3 May 2020 21:54:01 +0200 Subject: libre: openttd: switch to icu-parabola Signed-off-by: Denis 'GNUtoo' Carikli --- libre/openttd/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libre/openttd') diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD index 6366002e4..53304cae7 100644 --- a/libre/openttd/PKGBUILD +++ b/libre/openttd/PKGBUILD @@ -14,7 +14,7 @@ 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' 'icu-parabola' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth') optdepends=('openttd-opengfx: free graphics') source=("https://proxy.binaries.openttd.org/openttd-releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") sha256sums=('1988e17f5b6f4b8f423c849ef1c579c21f678722ae4440f87b27a5fea6385846') @@ -33,15 +33,16 @@ build() { --install-dir="${pkgdir}" \ --doc-dir=share/doc/${pkgname} \ --with-fluidsynth \ - --menu-name="OpenTTD" + --menu-name="OpenTTD" \ + PKG_CONFIG_PATH="/opt/parabola/icu/lib/pkgconfig/" make } package() { local _icu_ver - _icu_ver=$(pacman -S --print-format='%v' icu) - depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))") + _icu_ver=$(pacman -S --print-format='%v' icu-parabola) + depends+=("icu-parabola>=${_icu_ver}" "icu-parabola<$((${_icu_ver%%.*} + 1))") cd ${pkgname}-${pkgver} -- cgit v1.2.3