summaryrefslogtreecommitdiff
path: root/libre/openttd
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-05-03 21:54:01 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-05-03 21:54:01 +0200
commit07d5040a533cebf3760232a87413ae66d365ce9a (patch)
treea82ea541847d660729a4bbff09830f91864eea67 /libre/openttd
parent1ba48ddb002cfdad9503bb50c262a80819c48539 (diff)
downloadabslibre-07d5040a533cebf3760232a87413ae66d365ce9a.tar.gz
abslibre-07d5040a533cebf3760232a87413ae66d365ce9a.tar.bz2
abslibre-07d5040a533cebf3760232a87413ae66d365ce9a.zip
libre: openttd: switch to icu-parabola
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/openttd')
-rw-r--r--libre/openttd/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
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}