# Description: challenging 2D motocross platform game # URL: http://xmoto.tuxfamily.org # Maintainer: #teatime (irc.kyber.io), teatime at kyber dot io # Depends on: mesa3d lua52 ode sdl_mixer sdl_net sdl_ttf name=xmoto version=0.5.11 release=1 source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz lua52_compat.patch) build() { cd $name-$version patch -Np1 -i ../lua52_compat.patch ./bootstrap rm -r src/ode CPPFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0' # fixes no text ./configure --prefix=/usr \ --with-internal-xdg=1 \ --with-x \ --disable-debug \ --disable-nls make make DESTDIR=$PKG install rm -rf $PKG/usr/share/{doc,locale} }