summaryrefslogtreecommitdiff
path: root/community/xmoto
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmoto')
-rw-r--r--community/xmoto/PKGBUILD9
-rw-r--r--community/xmoto/xmoto.install10
2 files changed, 8 insertions, 11 deletions
diff --git a/community/xmoto/PKGBUILD b/community/xmoto/PKGBUILD
index d1cce5f40..3f74ff3e3 100644
--- a/community/xmoto/PKGBUILD
+++ b/community/xmoto/PKGBUILD
@@ -1,17 +1,18 @@
-# $Id: $
+# $Id: PKGBUILD 67382 2012-03-10 21:01:16Z giovanni $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Travis Willard <travisw@wmpub.ca>
# Contributor: Denis (dtonator@gmail.com)
pkgname=xmoto
pkgver=0.5.9
-pkgrel=1
+pkgrel=2
pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
arch=('i686' 'x86_64' 'mips64el')
url="http://xmoto.tuxfamily.org"
license=('GPL')
-depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11.1' 'curl'
- 'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'libxdg-basedir' 'libxml++')
+depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode' 'curl'
+ 'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net'
+ 'libxdg-basedir' 'libxml++')
install=xmoto.install
source=("http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
'xmoto-0.5.9-libpng15.patch')
diff --git a/community/xmoto/xmoto.install b/community/xmoto/xmoto.install
index 52399d4c1..e111ef946 100644
--- a/community/xmoto/xmoto.install
+++ b/community/xmoto/xmoto.install
@@ -1,15 +1,11 @@
post_install() {
- /usr/bin/update-desktop-database
+ update-desktop-database -q
}
post_upgrade() {
- /usr/bin/update-desktop-database
+ post_install
}
post_remove() {
- /usr/bin/update-desktop-database
+ post_install
}
-
-op=$1
-shift
-$op $*