1 # Maintainer: celmir <scribecelmir@tuxfamily.org>
2 pkgname=landeseternelleslinux
5 pkgdesc="Fork of Eternal Lands's mmorpg for french speaking players"
7 url="http://www.landes-eternelles.com"
8 license=(custom:'eternal_lands_license')
9 depends=('sdl_net' 'sdl_image' 'cal3d' 'mesa' 'openal' 'libxslt' 'libvorbis' )
11 install='landeseternelles.install'
12 source=(http://landes-eternelles.com/client/Client_Sources-1.6.2.2.tar.bz2
13 http://landes-eternelles.com/client/LandesEternellesLinux-1.6.2.2.tar.bz2
14 http://landes-eternelles.com/el_data/Maj_septembre_2011.zip
15 landeseternelles.desktop
18 md5sums=('57694ed594fed9c210e3ce96b69a2d3f'
19 'e3dc5c797ed0c70e9a34c334ceb637ac'
20 'ce81b78b51ec50b2232befb6dabd88d8'
21 '34b87dba614b242297375cec98255acf'
22 '410fed06fca941a95b0427c30cb697c5'
26 cd "$srcdir/client_sources"
27 make -f Makefile.linux || return 1
31 mkdir -p $pkgdir/usr/{bin,share/{$pkgname,licenses/$pkgname,pixmaps,applications}}
32 install -m644 $srcdir/landeseternelles.desktop $pkgdir/usr/share/applications/landeseternelles.desktop
33 install -m644 $srcdir/landeseternelles.png $pkgdir/usr/share/pixmaps/landeseternelles.png
34 if [ $CARCH == "x86_64" ];then
35 cd "$srcdir/client_sources"
36 install -m755 le.x86_64.linux.bin $pkgdir/usr/bin/le.x86_64.linux.bin
38 cd "$srcdir/client_sources"
39 install -m755 le.x86.linux.bin $pkgdir/usr/bin/le.x86.linux.bin
42 mv -f *.gz $srcdir/LandesEternellesLinux/maps/
43 chmod 0644 $srcdir/LandesEternellesLinux/maps/*.gz
44 cd "$srcdir/LandesEternellesLinux"
46 mv -f Licence_logiciel_et_donnees_du_client.txt Accord_general_de_licence_LE.txt $pkgdir/usr/share/licenses/$pkgname/
47 mv -f * $pkgdir/usr/share/$pkgname/
50 # vim:set ts=2 sw=2 et: