cosmic-ext-applet-apps-menu/fix-justfile.patch

17 lines
1.2 KiB
Diff

diff -rub apps-menu-applet-for-cosmic_tm/justfile apps-menu-applet-for-cosmic_tm-patched/justfile
--- apps-menu-applet-for-cosmic_tm/justfile 2024-06-06 06:25:37.534920912 +0200
+++ apps-menu-applet-for-cosmic_tm-patched/justfile 2024-06-06 06:28:18.428249816 +0200
@@ -1,5 +1,8 @@
+rootdir := ''
+prefix := '/usr'
+
# Installs files into the system
install:
- sudo install -Dm0755 ./target/release/cosmic-applet-apps-menu /usr/bin/apps-menu-applet-for-cosmic_tm
- sudo install -Dm0644 data/dev.dominiccgeh.CosmicAppletAppsMenu.desktop /usr/share/applications/dev.dominiccgeh.CosmicAppletAppsMenu.desktop
- find 'data'/'icons' -type f -exec echo {} \; | rev | cut -d'/' -f-3 | rev | xargs -d '\n' -I {} sudo install -Dm0644 'data'/'icons'/{} /usr/share/icons/hicolor/{}
\ No newline at end of file
+ install -Dm0755 ./target/release/cosmic-applet-apps-menu {{rootdir}}{{prefix}}/bin/cosmic-ext-applet-apps-menu
+ install -Dm0644 data/dev.dominiccgeh.CosmicAppletAppsMenu.desktop {{rootdir}}{{prefix}}/share/applications/dev.dominiccgeh.CosmicAppletAppsMenu.desktop
+ find 'data'/'icons' -type f -exec echo {} \; | rev | cut -d'/' -f-3 | rev | xargs -d '\n' -I {} install -Dm0644 'data'/'icons'/{} {{rootdir}}{{prefix}}/share/icons/hicolor/{}