Bug 68501 - NWN Community Expansion Pack ebuild request
|
Bug#:
68501
|
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: dju@gentoo.org
|
|
Component: Games
|
|
|
URL:
http://nwn.bioware.com/players/cep.html
|
|
Summary: NWN Community Expansion Pack ebuild request
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-10-21 23:47 0000
|
NWN CEP 1.50 is out. CEP is a single package containing the highest-rated
player community-developed content available to date. It would be interesting
to have an ebuild for this.
Created an attachment (id=43794) [details]
nwn-cep-1.5.ebuild
This little fellow should fix the bug. I'm not pretty shure that using "doins"
is a wise idea. "mv" could do this a lot faster (if they are in the same fs).
However, I decided to have a good looking ebuild instead of performance :)
kai
I should mention that the proposed ebuild depends on nwn-1.64, so there is a
new dependency to this bug.
kai
Works for me on x86.
Thank you for the good work.
Created an attachment (id=47197) [details]
nwn-cep-1.50.ebuild
please try this version
we tend to use 'mv' instead of 'doins' when dealing with large games ... saves
on space / speed
also, you should note that `doins` can take multiple arguements, so you could
have just done `doins *.hak`
SpanKY, your ebuild does not install files into their respective directories:
- *.hak files need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- Live/* files also need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- cep.tlk needs to go into "${GAMES_PREFIX_OPT}/nwn/tlk/"
- *.mod files need to go into "${GAMES_PREFIX_OPT}/nwn/modules/"
- *.pdf and *.txt files could go into "${GAMES_PREFIX_OPT}/nwn/cep/" ?
The rar file also contains SoU/* and HotU/* hak files. These are used instead of the Live/* hak files only in the case that the user has the SoU or HotU expansion packs.
It may be worthwhile to install these somewhere ("${GAMES_PREFIX_OPT}/nwn/cep/" ?) and instruct the user where to move them in the event they obtain the expansion packs.
Thanks SpanKY. The only change I had to make was 'unrar x ${DISTDIR}/${A}' in
src_unpack.
Other than that, the ebuild installs everything appropriately.
awesome :)
if you could post the digest file for the ebuild, i'll add this to portage ...
now in portage, thanks ! :)