Bug 63339 - new ebuild for new game anagramarama
Bug#: 63339 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: bugs@linuxlogin.com
Component: Games
URL: 
Summary: new ebuild for new game anagramarama
Keywords:  
Status Whiteboard: 
Opened: 2004-09-08 12:27 0000
Description:   Opened: 2004-09-08 12:27 0000
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

------- Comment #1 From Greg Watson (linuxkrn) 2004-09-08 12:28:25 0000 -------
Created an attachment (id=39213) [details]
anagramarama-0.2.ebuild

anagramarama-0.2.ebuild

------- Comment #2 From Mr. Bones. 2004-09-08 13:28:29 0000 -------
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...

------- Comment #3 From Greg Watson (linuxkrn) 2004-09-08 14:26:11 0000 -------
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...

------- Comment #4 From Mr. Bones. 2004-09-08 14:38:19 0000 -------
yeah, the cp needs to do something like cp -r .... "${D}${GAMES_DATADIR}/${PN}"

------- Comment #5 From Greg Watson (linuxkrn) 2004-09-08 14:55:10 0000 -------
Created an attachment (id=39219) [details]
Send Edit

------- Comment #6 From Mr. Bones. 2004-09-08 15:56:48 0000 -------
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.