fcitx5-with-addons: patch .desktop files
This commit is contained in:
parent
9509da46e7
commit
61615cc4ea
|
@ -12,6 +12,14 @@ symlinkJoin {
|
|||
--prefix FCITX_ADDON_DIRS : "$out/lib/fcitx5" \
|
||||
--suffix XDG_DATA_DIRS : "$out/share" \
|
||||
--suffix PATH : "$out/bin"
|
||||
|
||||
desktop=share/applications/org.fcitx.Fcitx5.desktop
|
||||
autostart=etc/xdg/autostart/org.fcitx.Fcitx5.desktop
|
||||
rm $out/$desktop
|
||||
rm $out/$autostart
|
||||
cp ${fcitx5}/$desktop $out/$desktop
|
||||
sed -i $out/$desktop -e "s|^Exec=.*|Exec=$out/bin/fcitx5|g"
|
||||
cp $out/$desktop $out/$autostart
|
||||
'';
|
||||
|
||||
meta = fcitx5.meta;
|
||||
|
|
Loading…
Reference in New Issue