# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="3D arcade with unique fighting system and antropomorphic characters" HOMEPAGE="http://wolfire.com/lugaru.html" SRC_URI="http://www.wolfiles.com/${PN}-linux-x86-${PV}.zip" LICENSE="EULA" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nostrip" RDEPEND="virtual/libc" DEPEND="|| ( app-arch/unzip app-arch/zip)" S=${WORKDIR} dir=${GAMES_PREFIX_OPT}/${PN} Ddir=${D}/${dir} src_unpack() { unpack "${A}" || die "initiall unpacking failed" unpack_makeself ${PN}-linux-x86-${PV}.run || die "unpack_makeself failed" tar -xpf ${PN}-linux-x86.tar || die "executables unpacking failed" tar -xpf ${PN}-data.tar || die "data unpacking failed" } src_install() { exeinto ${dir} insinto ${dir} doexe lugaru-bin *.so *.so.0 doins -r Data Readme README.linux Screenshots Troubleshooting games_make_wrapper lugaru ./lugaru-bin ${dir} doicon lugaru.xpm prepgamesdirs make_desktop_entry lugaru "Lugaru" lugaru.xpm }