2017-05-01 10:55:43 +02:00
|
|
|
|
# Description: Zorlu bir 2D motocross platform oyunu, burada fizik oyunda önemli bir rol oynamaktadır
|
2016-06-28 18:53:12 +02:00
|
|
|
|
# URL: http://xmoto.tuxfamily.org
|
|
|
|
|
# Packager: milisarge
|
2016-06-28 20:48:14 +02:00
|
|
|
|
# Depends on: desktop-file-utils libxdg-basedir xorg-glu libmikmod libjpeg-turbo lua51 lua52 ode sdl-mixer sdl-net sdl-ttf
|
2016-06-28 18:53:12 +02:00
|
|
|
|
|
|
|
|
|
name=xmoto
|
|
|
|
|
version=0.5.11
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz
|
2016-06-28 20:48:14 +02:00
|
|
|
|
lua52_compat.patch )
|
2016-06-28 18:53:12 +02:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -Np1 -i "${SRC}/lua52_compat.patch"
|
|
|
|
|
./bootstrap
|
|
|
|
|
rm -r src/ode
|
|
|
|
|
CPPFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0'
|
2016-06-28 20:48:14 +02:00
|
|
|
|
|
2016-06-28 18:53:12 +02:00
|
|
|
|
./configure --prefix=/usr --disable-sdltest
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2017-05-01 10:55:43 +02:00
|
|
|
|
|
|
|
|
|
# Masaüstü dosyasını yükle
|
2016-06-28 20:48:14 +02:00
|
|
|
|
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.desktop" \
|
|
|
|
|
"${PKG}/usr/share/applications/xmoto.desktop"
|
|
|
|
|
|
2017-05-01 10:55:43 +02:00
|
|
|
|
# Masaüstü dosyası için simge yükle.
|
2016-06-28 20:48:14 +02:00
|
|
|
|
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.xpm" \
|
|
|
|
|
"${PKG}/usr/share/pixmaps/xmoto.xpm"
|
|
|
|
|
#rm -rf $PKG/usr/share/doc
|
2016-06-28 18:53:12 +02:00
|
|
|
|
}
|