The desktop file ships a MimeType key, so the package must refresh the desktop
mimeinfo cache on install and removal. Inherit xdg so pkg_postinst and pkg_postrm run
update-desktop-database.
Closes: https://bugs.gentoo.org/977937
Signed-off-by: Huang Rui <vowstar@gmail.com>
Under USE=debug cargo builds into target/debug, so the hardcoded
target/release path made dobin fail. Use cargo_target_dir so the
install path follows the active profile.
Closes: https://bugs.gentoo.org/977872
Signed-off-by: Huang Rui <vowstar@gmail.com>
- /-/raw/main/ assets drift and stop matching the recorded Manifest size
- the v0.7.0 tarball already ships surfer/assets so the extra fetch is dropped
- strip the .png from the desktop Icon key to pass desktop-file validation
Closes: https://bugs.gentoo.org/975824
Signed-off-by: Huang Rui <vowstar@gmail.com>