-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm looking at packaging Lix for Mageia, and I would like to be able to install it system-wide following the FHS and policies in Linux distributions.
Basically this would require to make it possible to:
- install the binaries in
$(prefix)/games or $ (prefix)/bin - install the game data in
$(prefix)/share/games/lix or $ (prefix)/share/lix
$(prefix) being by default /usr/local but with a possibility to override it (for distro packaging, we use /usr).
Providing install instructions in the Makefile would be a nice feature too, but this would come in a second time, since some code tweaking would be required first to be able to support different rootpaths than "./" and "../". Ideally the rootpath would be retrieved from the "make" call (e.g. "make PREFIX=/usr LIX_DATA_DIR=share/games/lix") and hardcoded in src/other/globals.cpp.
Support for additional rootpaths for e.g. user-made content and replays would be nice too (preferably in $XDG_DATA_HOME/lix i.e. ~/.local/share/lix).
Metadata
Metadata
Assignees
Labels
No labels