Created a new ebuild for 0.2 of the game anagramarama. games-puzzle/anagramarama Size of downloaded files: 841 kB Homepage: http://www.coralquest.com/anagramarama/ Description: Create as many words as you can before the time runs out License: GPL
Created attachment 39213 [details] anagramarama-0.2.ebuild anagramarama-0.2.ebuild
Couple tweaks please: add S="${WORKDIR}/${PN}" so you don't have to cd in all the functions put the datafiles in "${GAMES_DATADIR}/${PN}" use newgamesbin in src_install instead of the mv in src_compile - eliminate src_compile completely from the ebuild since it won't be needed anymore. change the dodir/doins thing in src_install to dodir .... ; cp -r ... || die...
I made most of those changes, however, the dodir creates a dir in $D (image dir) not on the final install place. So when the cp(s) are run, the directory isn't there yet. Did you want to use mkdir instead of dodir also? Or am I missing something else...
yeah, the cp needs to do something like cp -r .... "${D}${GAMES_DATADIR}/${PN}"
Created attachment 39219 [details] Send Edit
Close enough. Check the ebuild in portage for final polishing for future ebuilds. games-puzzle/anagramarama added to CVS. Thanks for the bug report and ebuild.