So, I have decided to try and create a package for my favorite distro, Arch Linux, using this guide on the official wiki. Is there anything I should know before attempting it? Such as any quirks to account for in the compilation process, and what packages I will need to specify as dependencies (the packages for Arch Linux can be found here, and here)? Thanks for your time, and keep up the good work.
Well, you need to run PO from the folder you install it. I think it makes packaging very difficult, or even impossible.
Not necessarily, as I can always have it send that folder to /usr/bin/ with the install script for the package (packages, or at least this packages of this sort in Arch Linux are essentially BASH scripts for compiling from source). That also may remove the need for the LD_LIBRARY_PATH environment variable in ~/.bashrc.
Well, since currently PO does not run from RO directory quite as good you may need to grant some permissions to dirs/folders. If you don't want it to be writable by all, make a group for it (or use generic 'games', if it's already exist in Arch). I'm interested to change these quirks but I haven't even started yet.
Thanks, I think I'll opt to go with the generic 'games' group, as it does already exist natively in Arch. Although, after reading a bit on the wiki, it appears that throwing the directory in the /usr/bin/ directory like I plan on doing will assign it to the bin group, so a better option might just be to let the groups be automatically assigned that way and not have to hassle with it.
I second mystra. No one wants in their bin anything but executables (BINaries, or scripts). Put the game data files into /usr/share/games/pokemononline or whatever place :3
I guess I'll do that then. I'll also make it so the filenames for the symlinks aren't so generic, as to avoid conflicts with other programs. It would also require a few more lines of code though, as Archlinux installs packages by default to /usr/bin/, though I could do it the other way around, and make symlinks to the game data files in a folder named "pokemon-online" in the $XDG_CONFIG_HOME (~/.config directory).