--- oilrush-0.72.ebuild 2012-11-05 10:51:15.643740010 +0100 +++ oilrush-0.72.ebuild 2012-11-05 10:51:31.716127314 +0100 @@ -1,10 +1,10 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=3 +EAPI=4 -inherit eutils games +inherit eutils unpacker games MY_PN="OilRush" @@ -47,7 +47,7 @@ src_prepare() { # Take version specific params from launcher: - LAUNCHER_MAIN="data/launcher/js/launcher.js" + LAUNCHER_MAIN="data/launcher/js/run.launchers.oilrush.js" LAUNCHER_DIRECT_PARAMS="system_script extern_plugin" LAUNCHER_CONSOLE_CMD="world_load" PARAMS="" @@ -118,8 +118,6 @@ einfo " Installing game data files ..." doins -r "data" || die "doins game data files failed" - # Changing config name allow us to keep settings through versions in an easy way. - newins "${P}.cfg" "${PN}.cfg" || die "newins \"${P}.cfg\" failed" # Install libraries and executables @@ -127,11 +125,11 @@ if use amd64 then - local suff="x64d" + local suff="x64" fi if use x86 then - local suff="x86d" + local suff="x86" fi exeinto "${GAMEDIR}/lib" || die "exeinto \"lib\" failed"