summaryrefslogtreecommitdiff
path: root/libre/openttd/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-08 23:13:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-08 23:13:12 -0300
commit053e504dd3aa9c1097147be717dedb72106e79d5 (patch)
treef5b795509edb46bfedaa461c76d412c30f46e25b /libre/openttd/PKGBUILD
parent2289ddbbe199b00c2a5d7ae6bb5d0f54b9b92d20 (diff)
openttd-1.6.0-2.parabola1: hooks rebuild, add gcc6 patch from fedora
Diffstat (limited to 'libre/openttd/PKGBUILD')
-rw-r--r--libre/openttd/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/libre/openttd/PKGBUILD b/libre/openttd/PKGBUILD
index bc5526807..bc1efa10c 100644
--- a/libre/openttd/PKGBUILD
+++ b/libre/openttd/PKGBUILD
@@ -1,19 +1,27 @@
-# $Id: PKGBUILD 169626 2016-04-07 07:39:33Z lcarlier $
+# $Id: PKGBUILD 174283 2016-05-08 07:02:06Z lcarlier $
# Maintainer (Arch): Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=openttd
pkgver=1.6.0
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc='An engine for running Transport Tycoon Deluxe, without nonfree openttd-opensfx recommendation'
arch=('i686' 'x86_64' 'armv7h')
url='http://www.openttd.org'
license=('GPL')
depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz')
-install=openttd.install
optdepends=('openttd-opengfx: free graphics')
-source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
-sha256sums=('4c12e6b516ffdee20a03ebad80dad85d137130002d6d3e123a568376fe4b4eb2')
+source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz"
+ openttd-1.5.3-gcc6.patch)
+sha256sums=('4c12e6b516ffdee20a03ebad80dad85d137130002d6d3e123a568376fe4b4eb2'
+ '3e9652e1401150c287b71595afbf268dc4379908519d7939ec4e46548026b7e9')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+
+ # patch from fedora
+ patch -Np1 -i ../openttd-1.5.3-gcc6.patch
+}
build() {
cd ${pkgname}-${pkgver}