summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Kylie McClain <somasis@exherbo.org> 2016-05-13 22:38:51 -0400
committerAvatar Kylie McClain <somasis@exherbo.org> 2016-05-14 15:09:40 -0400
commitc4cf69c5d086d3a34a85b64eae8ac975fd689b7e (patch)
tree31b34321feff58ed43d96e781f5f02053be0e7ea
parent9612fb1b03d8c26ba8b405e13944f08a27637f4f (diff)
downloadgames-c4cf69c5d086d3a34a85b64eae8ac975fd689b7e.tar.gz
games-c4cf69c5d086d3a34a85b64eae8ac975fd689b7e.tar.xz
KoboDeluxe: install icons correctly
-rw-r--r--packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1-r1.exheres-0 (renamed from packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1.exheres-0)0
-rw-r--r--packages/games-arcade/KoboDeluxe/KoboDeluxe.exlib9
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1.exheres-0 b/packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1-r1.exheres-0
index 83f7b9f..83f7b9f 100644
--- a/packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1.exheres-0
+++ b/packages/games-arcade/KoboDeluxe/KoboDeluxe-0.5.1-r1.exheres-0
diff --git a/packages/games-arcade/KoboDeluxe/KoboDeluxe.exlib b/packages/games-arcade/KoboDeluxe/KoboDeluxe.exlib
index f33ad29..67ee27b 100644
--- a/packages/games-arcade/KoboDeluxe/KoboDeluxe.exlib
+++ b/packages/games-arcade/KoboDeluxe/KoboDeluxe.exlib
@@ -52,9 +52,12 @@ KoboDeluxe_src_install() {
keepdir /var/lib/games/kobo-deluxe/scores
dovarlibgames /var/lib/games/kobo-deluxe/scores
- # Copy the icons
- insinto /usr/share/icons/hicolor/
- doins -r icons/KDE/icons/*
+ local size
+ for size in icons/KDE/icons/*;do
+ size=${size##*/}
+ insinto /usr/share/icons/hicolor/${size}/apps
+ doins icons/KDE/icons/${size}/*
+ done
# Copy the desktop files
insinto /usr/share/applications