milis/talimatname/genel/x/xmoto/talimat

33 lines
988 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Zorlu bir 2D motocross platform oyunu, burada fizik oyunda önemli bir rol oynamaktadır
# URL: http://xmoto.tuxfamily.org
# Paketçi: milisarge
# Gerekler: desktop-file-utils libxdg-basedir xorg-glu libmikmod libjpeg-turbo lua51 lua52 ode sdl-mixer sdl-net sdl-ttf
# Grup: oyun
isim=xmoto
surum=0.5.11
devir=1
kaynak=(http://download.tuxfamily.org/$isim/$isim/$surum/$isim-$surum-src.tar.gz
lua52_compat.patch )
derle() {
cd $isim-$surum
patch -Np1 -i "${SRC}/lua52_compat.patch"
./bootstrap
rm -r src/ode
CPPFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0'
./configure --prefix=/usr --disable-sdltest
make
make DESTDIR=$PKG install
# Masaüstü dosyasını yükle
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.desktop" \
"${PKG}/usr/share/applications/xmoto.desktop"
# Masaüstü dosyası için simge yükle.
install -Dm0644 "${SRC}/xmoto-0.5.11/extra/xmoto.xpm" \
"${PKG}/usr/share/pixmaps/xmoto.xpm"
#rm -rf $PKG/usr/share/doc
}