# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Header: $ inherit games DESCRIPTION="Remake of the old DOS game Paratrooper." HOMEPAGE="http://paratim.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="media-libs/libsdl" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-trooper.patch" || die "epatch failed" } src_install() { dogamesbin "src/${PN}" || die "dogamesbin failed" insinto "${GAMES_DATADIR}/${PN}" doins -r data/*.bmp || die "doins failed" dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" doicon "${FILESDIR}/${PN}.png" || die "doicon failed" make_desktop_entry "${PN}" Paratim "${PN}.png" prepgamesdirs }