Module submission - freecol
Bernd Kosmahl
beko at duke.famkos.net
Mon Nov 27 15:05:22 CET 2006
module name : freecol
suggested section : games
update (y/n) : n
bugfix (y/n) : n
security (y/n) : n
Hi,
here is something for people who like to waste time with gaming - like
me ;-)
FreeCol is a clone of Colonisation (1994 Microprose) written in Java. It
features network play and recent graphics but behaves exactly like the
original Colonisation. It's released under the GPL and looks really
nice to me. I already played it many hours and can't get enough ;-)
Check out the website!
Warning: This is my first "complex" module. It's special for me because
it's a precomiled Java-app! I'm not sure whether the way I handle the
installation and, much more important, the removal proper. I tested the
install and removal now many times but two issues are still bugging me.
First: For comfortable starting (remember: it's a java-app) I'm creating
a script in /usr/bin (check BUILD). At the beginning I used
POST_INSTALL for this and removed the created script manually in
PRE_REMOVE. However I read in the Lunar Wiki that I should not install
any files to the system with POST_INSTALL so I putted everything in
BUILD. Now lunar tracks my script while installing the module and
removes it automatically on lrm too. Still.. it doesn't look "clean"
for me. How can I do this better?
Second: Removal looks sort of "hardcore" to me. Is there a better way to
do this beside rm -rf the moduledir?
Enjoy!
--
Bernd "beko" Kosmahl
beko (a-nospam-t) duke.famkos.net
http://duke.famkos.net (PGP pupkey: http://duke.famkos.net/pub.txt)
PGP Fingerprint: 0798 0D57 1F98 0675 731D AD06 81FB 7AD8 AD53 FE47
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar/attachments/20061127/86a6c7ce/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freecol.tar.gz
Type: application/x-tgz
Size: 1017 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar/attachments/20061127/86a6c7ce/freecol.tar.bin
More information about the Lunar
mailing list