summaryrefslogtreecommitdiffstats
path: root/extra/xmoto/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xmoto/Pkgfile')
-rw-r--r--extra/xmoto/Pkgfile21
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/xmoto/Pkgfile b/extra/xmoto/Pkgfile
index 44870d462..a9c9888e4 100644
--- a/extra/xmoto/Pkgfile
+++ b/extra/xmoto/Pkgfile
@@ -2,22 +2,29 @@
# URL: http://xmoto.tuxfamily.org
# Maintainer: NuTyX core team
# Packager: charles dot rapenne at gmail dot com
-# Depends on: ode, libjpeg, libpng, zlib, bzip2, sdl, sdl_ttf, curl, lua, sdl_mixer, sdl_net, sqlite3
+# Depends on: libxdg-basedir, ode, libjpeg, libpng, zlib, bzip2, sdl, sdl_ttf, curl, lua, sdl_mixer, sdl_net, sqlite3
+
name=xmoto
-version=0.5.2
+version=0.5.3
release=1
-source=(http://download.tuxfamily.org/xmoto/xmoto/0.5.2/$name-$version-src.tar.gz xmoto.desktop)
+
+source=(http://download.tuxfamily.org/xmoto/xmoto/0.5.3/$name-$version-src.tar.gz
+ xmoto.desktop
+ libpng-14.patch)
+
build() {
-mkdir -p $PKG/usr/share/pixmaps/ $PKG/usr/share/applications/
+ mkdir -p $PKG/usr/share/pixmaps/ $PKG/usr/share/applications/
+
+ cd $name-$version
+ patch -Np1 -i $SRC/libpng-14.patch
-cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
-install -m 644 ../xmoto.desktop $PKG/usr/share/applications/
-install -m 644 extra/xmoto.xpm $PKG/usr/share/pixmaps/
+ install -m 644 ../xmoto.desktop $PKG/usr/share/applications/
+ install -m 644 extra/xmoto.xpm $PKG/usr/share/pixmaps/
}