From 903ec672921b74e1c17e7e53b548f0a33e90eda1 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Wed, 10 Jan 2024 18:27:37 +0000 Subject: [PATCH] migrate more recipes to /usr --- recipes/wip/0ad-data/recipe.toml | 4 ++-- recipes/wip/hyprland/recipe.toml | 4 ++-- recipes/wip/niri/recipe.toml | 8 ++++---- recipes/wip/satty/recipe.toml | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/recipes/wip/0ad-data/recipe.toml b/recipes/wip/0ad-data/recipe.toml index 008a31028..73243c0b4 100644 --- a/recipes/wip/0ad-data/recipe.toml +++ b/recipes/wip/0ad-data/recipe.toml @@ -4,6 +4,6 @@ tar = "https://releases.wildfiregames.com/0ad-0.0.26-alpha-unix-data.tar.xz" [build] template = "custom" script = """ -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/0ad/ -cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/home/user/.local/share/0ad/ +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/0ad/ +cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/0ad/ """ diff --git a/recipes/wip/hyprland/recipe.toml b/recipes/wip/hyprland/recipe.toml index ee54a979c..a4b04d723 100644 --- a/recipes/wip/hyprland/recipe.toml +++ b/recipes/wip/hyprland/recipe.toml @@ -19,6 +19,6 @@ dependencies = [ "libxfixes", ] script = """ -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/wayland-sessions -cp -rv "${COOKBOOK_SOURCE}"/example/hyprland.desktop "${COOKBOOK_STAGE}"/home/user/.local/share/wayland-sessions +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/wayland-sessions +cp -rv "${COOKBOOK_SOURCE}"/example/hyprland.desktop "${COOKBOOK_STAGE}"/usr/share/wayland-sessions """ diff --git a/recipes/wip/niri/recipe.toml b/recipes/wip/niri/recipe.toml index 582004fe0..861d71148 100644 --- a/recipes/wip/niri/recipe.toml +++ b/recipes/wip/niri/recipe.toml @@ -9,10 +9,10 @@ dependencies = [ ] script = """ mkdir -pv "${COOKBOOK_STAGE}"/usr/bin -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/wayland-sessions -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/xdg-desktop-portal +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/wayland-sessions +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/xdg-desktop-portal cp -rv "${COOKBOOK_SOURCE}"/resources/niri-session "${COOKBOOK_STAGE}"/usr/bin -cp -rv "${COOKBOOK_SOURCE}"/resources/niri.desktop "${COOKBOOK_STAGE}"/home/user/.local/share/wayland-sessions -cp -rv "${COOKBOOK_SOURCE}"/resources/niri-portals.conf "${COOKBOOK_STAGE}"/home/user/.local/share/xdg-desktop-portal +cp -rv "${COOKBOOK_SOURCE}"/resources/niri.desktop "${COOKBOOK_STAGE}"/usr/share/wayland-sessions +cp -rv "${COOKBOOK_SOURCE}"/resources/niri-portals.conf "${COOKBOOK_STAGE}"/usr/share/xdg-desktop-portal cookbook_cargo """ diff --git a/recipes/wip/satty/recipe.toml b/recipes/wip/satty/recipe.toml index 7dfcb0a17..4e403a7d9 100644 --- a/recipes/wip/satty/recipe.toml +++ b/recipes/wip/satty/recipe.toml @@ -12,9 +12,9 @@ dependencies = [ "gdk-pixbuf", ] script = """ -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/applications -mkdir -pv "${COOKBOOK_STAGE}"/home/user/.local/share/icons/hicolor/scalable/apps -cp -rv "${COOKBOOK_SOURCE}"/satty.desktop "${COOKBOOK_STAGE}"/home/user/.local/share/applications -cp -rv "${COOKBOOK_SOURCE}"/assets/satty.svg "${COOKBOOK_STAGE}"/home/user/.local/share/icons/hicolor/scalable/apps +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/applications +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons/hicolor/scalable/apps +cp -rv "${COOKBOOK_SOURCE}"/satty.desktop "${COOKBOOK_STAGE}"/usr/share/applications +cp -rv "${COOKBOOK_SOURCE}"/assets/satty.svg "${COOKBOOK_STAGE}"/usr/share/icons/hicolor/scalable/apps cookbook_cargo_packages satty """ -- GitLab