Currently - in commit 9ae7ced877c0 - the icon of the desktop entry does not work.
To address this issue, you can rename the /usr/share/icons/hicolor/0x0
directory to /usr/share/icons/hicolor/scalable
.
However, as nuclear itself does provide svg
icons, it might be an even better idea to ship an svg
icon out of the box. This patch renames the icon directory properly and replaces the png
icon with the svg
version:
diff --git a/PKGBUILD b/PKGBUILD
index 741ad8d..fc28fee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,12 @@ prepare() {
}
package() {
+ iconDir=usr/share/icons/hicolor
+ scalableDir="$iconDir/scalable"
install -dm0755 "$pkgdir/"{opt,usr}
+ mv "$iconDir"/0x0 "$scalableDir"
+ rm "$scalableDir"/apps/nuclear.*
+ cp -a opt/nuclear/resources/media/presskit/icons/scalable/nuclear-icon.svg "$scalableDir"/apps/nuclear.svg
cp -art "$pkgdir" opt
cp -art "$pkgdir" usr
install -Dm0644 -t "$pkgdir/usr/share/licenses/$_pkgname" LICENSE
Pinned Comments