Vendored tarball replaced, 1.2.1 dropped. Upstream gains a third package
source, the AUR, plus an operation history, a readable log and an update check
against the Gitea repository.
Plugins are now collected instead of listed. CMake's POST_BUILD rule drops
every MODULE library it builds into build/plugins/, and PluginManager simply
scans *.so there, so a fixed path meant editing this PKGBUILD for each new
upstream provider. The AUR one arriving in 1.4 was exactly that.
The version file is installed next to the binary. UpdateManager::currentVersion
reads it and keeps the higher of that value and the one compiled in; upstream
installs it too. Leaving it out is harmless while the two agree, but they would
drift at the next bump.
pkgver follows the source's own version file, not the name of the delivery
folder, which said 1.4.2. CMake compiles that value into the binary and
UpdateManager compares it to the Gitea releases: a pkgver above the version
file would offer an already installed release for ever.
Qt6 Network is now required alongside Widgets; qt6-base covers both, so
depends is unchanged. yay and paru join optdepends since AurManager looks for
one of them and reports the source unavailable otherwise. FWS ships neither
yet, so that source will show as unavailable until one is added.
The FWS desktop entry is kept over the one upstream now generates. Upstream's
points at ${prefix}/bin/PacManager, a path this package does not have because
it keeps the binary in /usr/lib/fws-pacmanage/ next to its plugins, and its
icon is a 24px interface glyph with a hardcoded light stroke, invisible in a
menu on a light theme.
Both plugin sources compile; the full build needs Qt6, absent here.
Signed-off-by: nocode <suzuku295@gmail.com>