| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.9.3-r1.ebuild,v 1.1 2012/03/02 18:28:24 rich0 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.9.3-r1.ebuild,v 1.2 2012/06/24 11:58:25 rich0 Exp $ |
| 4 | |
4 | |
| 5 | EAPI=2 |
5 | EAPI=2 |
| 6 | inherit eutils flag-o-matic games |
6 | inherit eutils flag-o-matic games |
| 7 | |
7 | |
| 8 | DESCRIPTION="An online MMORPG written in C and SDL" |
8 | DESCRIPTION="An online MMORPG written in C and SDL" |
| … | |
… | |
| 116 | mv ./docs/html/ ../client || die "Failed to move documentation directory" |
116 | mv ./docs/html/ ../client || die "Failed to move documentation directory" |
| 117 | fi |
117 | fi |
| 118 | } |
118 | } |
| 119 | |
119 | |
| 120 | src_install() { |
120 | src_install() { |
| 121 | doicon "${DISTDIR}/eternal-lands.png" ${PN}.png |
121 | newicon "${DISTDIR}/eternal-lands.png" ${PN}.png |
| 122 | |
122 | |
| 123 | newgamesbin el.x86.linux.bin el \ |
123 | newgamesbin el.x86.linux.bin el \ |
| 124 | || die "newgamesbin failed" |
124 | || die "newgamesbin failed" |
| 125 | make_desktop_entry el "Eternal Lands" \ |
125 | make_desktop_entry el "Eternal Lands" \ |
| 126 | || die "make_desktop_entry failed" |
126 | || die "make_desktop_entry failed" |