xmoto.paketlendi
This commit is contained in:
parent
84b413a118
commit
7f18f3873a
1 changed files with 11 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Description: a challenging 2D motocross platform game, where physics play an all important role in the gameplay
|
# Description: a challenging 2D motocross platform game, where physics play an all important role in the gameplay
|
||||||
# URL: http://xmoto.tuxfamily.org
|
# URL: http://xmoto.tuxfamily.org
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: libxdg-basedir xorg-glu libmikmod libjpeg-turbo lua51 lua52 ode sdl-mixer sdl-net sdl-ttf
|
# Depends on: desktop-file-utils libxdg-basedir xorg-glu libmikmod libjpeg-turbo lua51 lua52 ode sdl-mixer sdl-net sdl-ttf
|
||||||
|
|
||||||
name=xmoto
|
name=xmoto
|
||||||
version=0.5.11
|
version=0.5.11
|
||||||
release=1
|
release=1
|
||||||
source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz
|
source=(http://download.tuxfamily.org/$name/$name/$version/$name-$version-src.tar.gz
|
||||||
lua52_compat.patch)
|
lua52_compat.patch )
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
@ -15,9 +15,16 @@ build() {
|
||||||
./bootstrap
|
./bootstrap
|
||||||
rm -r src/ode
|
rm -r src/ode
|
||||||
CPPFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0'
|
CPPFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0'
|
||||||
|
|
||||||
./configure --prefix=/usr --disable-sdltest
|
./configure --prefix=/usr --disable-sdltest
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/usr/share/doc
|
# install desktop file
|
||||||
|
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.desktop" \
|
||||||
|
"${PKG}/usr/share/applications/xmoto.desktop"
|
||||||
|
|
||||||
|
# install icon for desktop file
|
||||||
|
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.xpm" \
|
||||||
|
"${PKG}/usr/share/pixmaps/xmoto.xpm"
|
||||||
|
#rm -rf $PKG/usr/share/doc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue