[arch-commits] Commit in xmoto/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Mon Apr 20 04:39:59 EDT 2009


    Date: Monday, April 20, 2009 @ 04:39:58
  Author: ronald
Revision: 36179

upgpkg: xmoto 0.5.1-1

Modified:
  xmoto/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-20 08:31:00 UTC (rev 36178)
+++ PKGBUILD	2009-04-20 08:39:58 UTC (rev 36179)
@@ -4,8 +4,8 @@
 # Contributor: Denis (dtonator at gmail.com)
 
 pkgname=xmoto
-pkgver=0.5.0
-pkgrel=2
+pkgver=0.5.1
+pkgrel=1
 pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
 arch=('i686' 'x86_64')
 url="http://xmoto.tuxfamily.org"
@@ -13,24 +13,24 @@
 depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11' 'curl>=7.16.2' 
 	 'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net')
 install=xmoto.install
-source=(http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz)
-md5sums=('e693ec0f949e44fb78187b8e82650869')
+source=(http://download.tuxfamily.org/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.gz)
+md5sums=('10cb822ec8c2c7e9466806633e69be1f')
 
 build() {
-  cd $srcdir/xmoto-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
 
   # build and install 
-  ./configure --prefix=/usr --disable-sdltest || return 1
+  ./configure --prefix=/usr --disable-sdltest
 
   make || return 1
-  make DESTDIR=$startdir/pkg mangdir=/usr/share/man/man6 install || return 1
+  make DESTDIR=${pkgdir} mangdir=/usr/share/man/man6 install
 
   # install desktop file
-  install -Dm0644 $srcdir/xmoto-${pkgver}/extra/xmoto.desktop \
-	$pkgdir/usr/share/applications/xmoto.desktop
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.desktop \
+	${pkgdir}/usr/share/applications/xmoto.desktop
 
   # install icon for desktop file
-  install -Dm0644 $srcdir/xmoto-${pkgver}/extra/xmoto.xpm \
-	$pkgdir/usr/share/pixmaps/xmoto.xpm
+  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/extra/xmoto.xpm \
+	${pkgdir}/usr/share/pixmaps/xmoto.xpm
 }
 



More information about the arch-commits mailing list