void-packages/srcpkgs/astromenace/INSTALL
Jürgen Buchmüller 4d44d98648 astromenace: enable cross building
The packed file gamedata.vfs is now created in the post
install stage and removed in the pre remove stage.
This allows cross builds to work, because AstroMenace does
not have to be run on the host.
2015-11-20 13:29:47 +01:00

8 lines
270 B
Text

case "$ACTION" in
post) # Pack the game data
echo "AstroMenace: packaging game data..."
/usr/bin/astromenace --pack --rawdata=/usr/share/astromenace/RAW_VFS_DATA \
> /usr/share/astromenace/gamedata.log
mv /usr/bin/gamedata.vfs /usr/share/astromenace
;;
esac