1 # Contributor: Tomas Groth <tomasgroth@yahoo.dk>
2 pkgname=glest-domineonic
5 pkgdesc="Domineonic - mod for glest"
7 url="http://www.moddb.com/mods/10252/demonionic"
8 depends=('glest' 'glest-data')
12 source=(Domineonic.zip)
13 md5sums=('30a3058ab7e596226b0f33bfa4ff6711')
15 # You have to download Domineonic.zip from
16 # http://www.moddb.com/mods/10252/demonionic/downloads (Demonionic-update).
17 # It can't be done automaticly because of the server the file is on.
20 mkdir -p $startdir/pkg/opt/glest/{maps,scenarios}
21 cd $startdir/pkg/opt/glest
22 cp -r $startdir/src/Domineonic/maps/{BigLand.gbm,FourKingdoms.gbm,MovingInland.gbm,fight*,open_field.gbm,the_ruins.gbm} maps/
23 cp -r $startdir/src/Domineonic/scenarios/Napoleon1.xml scenarios/
24 cp -r $startdir/src/Domineonic/techs .
27 cd $startdir/pkg/opt/glest/scenarios/
28 sed -i -e 's#<scenario>#<scenario><difficulty value="2"/>#' Napoleon1.xml