From 6495b29ce52646e466e793220aed9a6684a19ef7 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Mon, 30 Sep 2024 11:08:38 +0200 Subject: [PATCH] chore(icons): Move icons from the `src` to the `res` directory (#254) Icons should be considered *static* resources in that project so it makes sense moving them from the `src` to `res` directory in the repository. --- Makefile | 4 ++-- {src => res}/icons/arch-update-blue.svg | 0 {src => res}/icons/arch-update-dark.svg | 0 {src => res}/icons/arch-update-light.svg | 0 {src => res}/icons/arch-update_updates-available-blue.svg | 0 {src => res}/icons/arch-update_updates-available-dark.svg | 0 {src => res}/icons/arch-update_updates-available-light.svg | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename {src => res}/icons/arch-update-blue.svg (100%) rename {src => res}/icons/arch-update-dark.svg (100%) rename {src => res}/icons/arch-update-light.svg (100%) rename {src => res}/icons/arch-update_updates-available-blue.svg (100%) rename {src => res}/icons/arch-update_updates-available-dark.svg (100%) rename {src => res}/icons/arch-update_updates-available-light.svg (100%) diff --git a/Makefile b/Makefile index fe2123d3..ac7747d2 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ install: install -Dm 755 src/lib/* -t "${DESTDIR}${PREFIX}/share/${pkgname}/lib/" # Install icons - install -Dm 664 src/icons/"${pkgname}"*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" - install -Dm 664 src/icons/"${pkgname}"_updates-available*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" + install -Dm 664 res/icons/"${pkgname}"*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" + install -Dm 664 res/icons/"${pkgname}"_updates-available*.svg -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" # Install .desktop files install -Dm 644 "res/desktop/${pkgname}.desktop" "${DESTDIR}${PREFIX}/share/applications/${pkgname}.desktop" diff --git a/src/icons/arch-update-blue.svg b/res/icons/arch-update-blue.svg similarity index 100% rename from src/icons/arch-update-blue.svg rename to res/icons/arch-update-blue.svg diff --git a/src/icons/arch-update-dark.svg b/res/icons/arch-update-dark.svg similarity index 100% rename from src/icons/arch-update-dark.svg rename to res/icons/arch-update-dark.svg diff --git a/src/icons/arch-update-light.svg b/res/icons/arch-update-light.svg similarity index 100% rename from src/icons/arch-update-light.svg rename to res/icons/arch-update-light.svg diff --git a/src/icons/arch-update_updates-available-blue.svg b/res/icons/arch-update_updates-available-blue.svg similarity index 100% rename from src/icons/arch-update_updates-available-blue.svg rename to res/icons/arch-update_updates-available-blue.svg diff --git a/src/icons/arch-update_updates-available-dark.svg b/res/icons/arch-update_updates-available-dark.svg similarity index 100% rename from src/icons/arch-update_updates-available-dark.svg rename to res/icons/arch-update_updates-available-dark.svg diff --git a/src/icons/arch-update_updates-available-light.svg b/res/icons/arch-update_updates-available-light.svg similarity index 100% rename from src/icons/arch-update_updates-available-light.svg rename to res/icons/arch-update_updates-available-light.svg