diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-08 23:13:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-08 23:13:12 -0300 |
commit | 053e504dd3aa9c1097147be717dedb72106e79d5 (patch) | |
tree | f5b795509edb46bfedaa461c76d412c30f46e25b /libre | |
parent | 2289ddbbe199b00c2a5d7ae6bb5d0f54b9b92d20 (diff) |
openttd-1.6.0-2.parabola1: hooks rebuild, add gcc6 patch from fedora
Diffstat (limited to 'libre')
-rw-r--r-- | libre/openttd/PKGBUILD | 18 | ||||
-rw-r--r-- | libre/openttd/openttd.install | 17 |
2 files changed, 13 insertions, 22 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} diff --git a/libre/openttd/openttd.install b/libre/openttd/openttd.install deleted file mode 100644 index 85b22a1c5..000000000 --- a/libre/openttd/openttd.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 - update-desktop-database > /dev/null 2>&1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - update-desktop-database > /dev/null 2>&1 -} - -post_remove() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 - update-desktop-database > /dev/null 2>&1 -} |