Update openttd to 1.4.2.

This commit is contained in:
Jeff Huang 2014-08-22 09:00:43 +00:00
parent f409459ee1
commit 5187ca1472
2 changed files with 20 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=openttd
pkgver=1.4.1
pkgrel=2
pkgver=1.4.2
pkgrel=1
pkgdesc="An engine for running Transport Tycoon Deluxe or alternative data files"
arch=('x86_64')
url='http://www.openttd.org'
@ -13,7 +13,7 @@ conflicts=('openttd-dev' 'openttd-svn')
changelog=ChangeLog
categories=('games')
source=("http://binaries.openttd.org/releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
md5sums=('abcc2f95618360399806be28c1cf30a7')
md5sums=('2a77a7c1301b90e7338450640b2e921d')
build() {
cd $pkgname-$pkgver

17
openttd/openttd.install Normal file
View File

@ -0,0 +1,17 @@
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
}