--- teeworlds-0.5.0.ebuild 2009-01-27 16:53:05.000000000 +0100 +++ teeworlds-0.5.0.ebuild 2009-02-01 23:36:17.000000000 +0100 @@ -34,6 +34,8 @@ src_prepare() { rm -f license.txt + + epatch "${FILESDIR}"/fix_datadir_search.patch } src_compile() { @@ -64,13 +66,11 @@ } src_install() { - exeinto "${dir}" - doexe ${PN}_srv || die "dogamesbin failed" + dogamesbin ${PN}_srv || die "dogamesbin failed" if ! use dedicated ; then - doexe ${PN} || die "dogamesbin failed" + dogamesbin ${PN} || die "dogamesbin failed" newicon other/icons/Teeworlds.ico ${PN}.ico - games_make_wrapper ${PN} "./${PN}" "${dir}" make_desktop_entry ${PN} "Teeworlds" insinto "${dir}" doins -r data || die "doins failed"