After having another thought on this, there is a much better solution for XDG Base Directory support, since you provide /usr/bin/portfolio yourself. In there, you can just start it via /usr/share/portfolio/PortfolioPerformance -data "${XDG_CONFIG_HOME:-$HOME/.config}/PortfolioPerformance/workspace" "$@" (config dir is probably most appropriate, though there are different kinds of files in there).
You could even move the directory beforehand if existent to not require any user interaction (except if they stored their portfolio in there).
Pinned Comments
Cobra commented on 2025-12-19 15:13 (UTC)
80.4-2 adds OAuth authorization and thus the possibility to create a portfolio account for obtaining historic data.
Bevan implemented this crucial feature in the current PKGBUILD – and I'm very happy to welcome him as co-maintainer. :)
Cobra commented on 2023-08-19 13:34 (UTC)
Thanks to Bevan, we now have a simple and elegant (compared to my attempt) workaround that lets the PKGBUILD download and use the most recent version of maven (currently 3.9.4). Should not need any intervention from you. :)