git: 84861fd7d806 - main - x11-themes/qogir-icon-themes: fix build after INSTALLS_ICONS removal

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 16:01:14 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84861fd7d806b880805bf0c222aa9ce05941afe2

commit 84861fd7d806b880805bf0c222aa9ce05941afe2
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-10-13 15:58:51 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-10-13 16:00:57 +0000

    x11-themes/qogir-icon-themes: fix build after INSTALLS_ICONS removal
    
    Running gtk-udpate-icon-cache a packaging time is not how things are
    supposed to be done in any case.
    
    While here fix plist have wrong macros used there.
    
    Reported by:    antoine
---
 x11-themes/qogir-icon-themes/Makefile  |  3 ++-
 x11-themes/qogir-icon-themes/pkg-plist | 12 +++---------
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/x11-themes/qogir-icon-themes/Makefile b/x11-themes/qogir-icon-themes/Makefile
index 5c31c95265ef..98e0b37d28c9 100644
--- a/x11-themes/qogir-icon-themes/Makefile
+++ b/x11-themes/qogir-icon-themes/Makefile
@@ -21,9 +21,10 @@ GH_ACCOUNT=	vinceliuice
 GH_PROJECT=	Qogir-icon-theme
 NO_ARCH=	yes
 NO_BUILD=	yes
+BINARY_ALIAS=	gtk-update-icon-cache=${TRUE}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
-	${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/icons
+	${SETENV} PATH="${PATH}" ${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/icons
 
 .include <bsd.port.mk>
diff --git a/x11-themes/qogir-icon-themes/pkg-plist b/x11-themes/qogir-icon-themes/pkg-plist
index 81bb40e6b6dc..4f6d55a64a1e 100644
--- a/x11-themes/qogir-icon-themes/pkg-plist
+++ b/x11-themes/qogir-icon-themes/pkg-plist
@@ -8208,7 +8208,6 @@ share/icons/Qogir-dark/cursors/x-cursor
 share/icons/Qogir-dark/cursors/xterm
 share/icons/Qogir-dark/cursors/zoom-in
 share/icons/Qogir-dark/cursors/zoom-out
-share/icons/Qogir-dark/icon-theme.cache
 share/icons/Qogir-dark/index.theme
 share/icons/Qogir-dark/scalable
 share/icons/Qogir-dark/scalable@2x
@@ -16423,7 +16422,6 @@ share/icons/Qogir-manjaro-dark/cursors/x-cursor
 share/icons/Qogir-manjaro-dark/cursors/xterm
 share/icons/Qogir-manjaro-dark/cursors/zoom-in
 share/icons/Qogir-manjaro-dark/cursors/zoom-out
-share/icons/Qogir-manjaro-dark/icon-theme.cache
 share/icons/Qogir-manjaro-dark/index.theme
 share/icons/Qogir-manjaro-dark/scalable
 share/icons/Qogir-manjaro-dark/scalable@2x
@@ -32758,7 +32756,6 @@ share/icons/Qogir-manjaro/cursors/x-cursor
 share/icons/Qogir-manjaro/cursors/xterm
 share/icons/Qogir-manjaro/cursors/zoom-in
 share/icons/Qogir-manjaro/cursors/zoom-out
-share/icons/Qogir-manjaro/icon-theme.cache
 share/icons/Qogir-manjaro/index.theme
 share/icons/Qogir-manjaro/scalable/apps/10B4_steam.0.svg
 share/icons/Qogir-manjaro/scalable/apps/1CD8_rundll32.0.svg
@@ -32801,7 +32798,7 @@ share/icons/Qogir-manjaro/scalable/apps/Anydesk.svg
 share/icons/Qogir-manjaro/scalable/apps/AppImage.svg
 share/icons/Qogir-manjaro/scalable/apps/AppImageLauncher.svg
 share/icons/Qogir-manjaro/scalable/apps/Appstore.svg
-share/icons/Qogir-manjaro/scalable/apps/Ardour-Ardour_%%GTK4_VERSION%%.svg
+share/icons/Qogir-manjaro/scalable/apps/Ardour-Ardour_4.0.0.svg
 share/icons/Qogir-manjaro/scalable/apps/Ardour-Ardour_5.12.0.svg
 share/icons/Qogir-manjaro/scalable/apps/Ardour-Ardour_6.0.0.svg
 share/icons/Qogir-manjaro/scalable/apps/Ardour-icon_256px.svg
@@ -48257,7 +48254,6 @@ share/icons/Qogir-ubuntu-dark/cursors/x-cursor
 share/icons/Qogir-ubuntu-dark/cursors/xterm
 share/icons/Qogir-ubuntu-dark/cursors/zoom-in
 share/icons/Qogir-ubuntu-dark/cursors/zoom-out
-share/icons/Qogir-ubuntu-dark/icon-theme.cache
 share/icons/Qogir-ubuntu-dark/index.theme
 share/icons/Qogir-ubuntu-dark/scalable
 share/icons/Qogir-ubuntu-dark/scalable@2x
@@ -64592,7 +64588,6 @@ share/icons/Qogir-ubuntu/cursors/x-cursor
 share/icons/Qogir-ubuntu/cursors/xterm
 share/icons/Qogir-ubuntu/cursors/zoom-in
 share/icons/Qogir-ubuntu/cursors/zoom-out
-share/icons/Qogir-ubuntu/icon-theme.cache
 share/icons/Qogir-ubuntu/index.theme
 share/icons/Qogir-ubuntu/scalable/apps/10B4_steam.0.svg
 share/icons/Qogir-ubuntu/scalable/apps/1CD8_rundll32.0.svg
@@ -64635,7 +64630,7 @@ share/icons/Qogir-ubuntu/scalable/apps/Anydesk.svg
 share/icons/Qogir-ubuntu/scalable/apps/AppImage.svg
 share/icons/Qogir-ubuntu/scalable/apps/AppImageLauncher.svg
 share/icons/Qogir-ubuntu/scalable/apps/Appstore.svg
-share/icons/Qogir-ubuntu/scalable/apps/Ardour-Ardour_%%GTK4_VERSION%%.svg
+share/icons/Qogir-ubuntu/scalable/apps/Ardour-Ardour_4.0.0.svg
 share/icons/Qogir-ubuntu/scalable/apps/Ardour-Ardour_5.12.0.svg
 share/icons/Qogir-ubuntu/scalable/apps/Ardour-Ardour_6.0.0.svg
 share/icons/Qogir-ubuntu/scalable/apps/Ardour-icon_256px.svg
@@ -88211,7 +88206,6 @@ share/icons/Qogir/cursors/x-cursor
 share/icons/Qogir/cursors/xterm
 share/icons/Qogir/cursors/zoom-in
 share/icons/Qogir/cursors/zoom-out
-share/icons/Qogir/icon-theme.cache
 share/icons/Qogir/index.theme
 share/icons/Qogir/scalable/apps/10B4_steam.0.svg
 share/icons/Qogir/scalable/apps/1CD8_rundll32.0.svg
@@ -88254,7 +88248,7 @@ share/icons/Qogir/scalable/apps/Anydesk.svg
 share/icons/Qogir/scalable/apps/AppImage.svg
 share/icons/Qogir/scalable/apps/AppImageLauncher.svg
 share/icons/Qogir/scalable/apps/Appstore.svg
-share/icons/Qogir/scalable/apps/Ardour-Ardour_%%GTK4_VERSION%%.svg
+share/icons/Qogir/scalable/apps/Ardour-Ardour_4.0.0.svg
 share/icons/Qogir/scalable/apps/Ardour-Ardour_5.12.0.svg
 share/icons/Qogir/scalable/apps/Ardour-Ardour_6.0.0.svg
 share/icons/Qogir/scalable/apps/Ardour-icon_256px.svg