# Copyright © 2006 'WE' Group. All Rights Reserved. # Distributed under the terms of the Shareware license # $Header: $ inherit eutils games SLOT="0" LICENSE="Shareware" KEYWORDS="~amd64 x86" DESCRIPTION="Will be a surprise for the amateurs of unusual and picturesque games as Arkanoid and space games." SRC_URI="http://www.wegroup.org/downloads/${P}.tar.bz2" HOMEPAGE="http://www.wegroup.org/games/arkanoid-games/arkanoid-space-ball.html" IUSE="" RDEPEND=">=media-libs/libsdl-1.2.5 >=media-libs/sdl-image-1.2.5 >=media-libs/sdl-mixer-1.2.7" DEPEND="${RDEPEND} app-arch/bzip2" #GAMES_CHECK_LICENSE="yes S=${WORKDIR}/${PN} dir=${GAMES_PREFIX_OPT}/${PN} src_install() { dodir "${dir}" insinto "${dir}" doins * exeinto "${dir}" doexe ${PN} || die "failed coping executables" insinto "${dir}"/res doins res/* || die "failed coping res" doicon "${S}"/"${PN}".png || die "iccccccccccccccccccccccc" games_make_wrapper ${PN} ./arkanoidsb "${dir}" "${dir}" || die "failed creating game wrapper" make_desktop_entry ${PN} "Arkanoid: Sapce Ball" # dodoc README prepgamesdirs } pkg_postinst() { games_pkg_postinst einfo "To play the game run:" einfo "arkanoidsb" }