summaryrefslogtreecommitdiff
path: root/libre/openttd
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-03-06 09:06:16 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-03-06 09:06:48 +0100
commit136e506f67a2f00215863deb03d05bd682269d28 (patch)
tree102108234b7e4da8efe820dca384bb3dd08b9a83 /libre/openttd
parent9aeb76d27282889923e9fbbd3349e795f79a4728 (diff)
downloadabslibre-136e506f67a2f00215863deb03d05bd682269d28.tar.gz
abslibre-136e506f67a2f00215863deb03d05bd682269d28.tar.bz2
abslibre-136e506f67a2f00215863deb03d05bd682269d28.zip
libre/openttd: rebuilt
Diffstat (limited to 'libre/openttd')
-rw-r--r--libre/openttd/PKGBUILD11
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