summaryrefslogtreecommitdiff
path: root/community/xmoto
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-12 00:01:32 +0000
committerroot <root@rshg054.dnsready.net>2012-03-12 00:01:32 +0000
commita6cb3ddef295c5feb4e03ee198dbb31cdf62d518 (patch)
tree4ea0c57a9a347779a3d69ebee2dc54d994a30235 /community/xmoto
parent4640048ddd1331c9f6fc14b8921ccecdb6b1ea11 (diff)
Mon Mar 12 00:01:32 UTC 2012
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 0a865690d..79ffae8c1 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')
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 $*