openttd: switch to pacman hooks #74 and #75

This commit is contained in:
Francesco Marinucci 2018-12-30 12:29:50 +01:00
parent 1e2591699d
commit 0d79aa71aa
2 changed files with 1 additions and 18 deletions

View File

@ -1,6 +1,6 @@
pkgname=openttd
pkgver=1.8.0
pkgrel=1
pkgrel=2
pkgdesc="An engine for running Transport Tycoon Deluxe or alternative data files"
arch=('x86_64')
url='http://www.openttd.org'

View File

@ -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
}