Open nyctanthous opened 5 years ago
Thank you for the idea, I'll definitely look into it.
I think it'd require proper packaging or at least an install script? One that'd remove the man pages on uninstall as well. I'm not sure, though - I've never made this kind of package before.
@Nyctanthous If you're still interested and willing to give just a bit more push I'd be happy to expand on current installation and implement the proper uninstall in wal-discord
script but I need to know where this file is supposed to be placed in this particular case (somewhere in the $HOME
or...?).
@cprn Yeah, a proper install script is probably in order. According to the Filesystem Hierarchy Standard, it goes into /user/share/man/.....
, and I found an example for an Arch PKGBUILD with manpage installation here. I’d imagine appropriating it would be an effective way to build out a solution.
Yeah, I found that as well but my understanding is that's for when we package it and get it approved in at least a semi-official repository, like AUR for Arch-like or Launchpad for Debian-like because that path requires root access. I thought the install script for a GitHub repo should install man pages somewhere in the $HOME
directory? I couldn't confirm that, though, by googling and my ~/.local/man
does not exist so I don't know if that's a thing at all. How did you test that man page - did you put it somewhere for man
to pick up?
This project seems sufficiently popular and complex to warrant a
man
page.I've drafted out a sample page from the contents of your wiki, feel free to chop it up or modify it in any way.