guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: sxiv: Install icons.


From: guix-commits
Subject: 02/03: gnu: sxiv: Install icons.
Date: Mon, 14 Sep 2020 03:31:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 858bb37a1daf276ac272aee0109eb4c17d8a2d23
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 14 10:27:46 2020 +0300

    gnu: sxiv: Install icons.
    
    * gnu/packages/image-viewers.scm (sxiv)[arguments]: Add custom phase to
    install icons.
---
 gnu/packages/image-viewers.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 1889be3..2f78458 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -218,7 +218,10 @@ It is the default image viewer on LXDE desktop 
environment.")
              (install-file "sxiv.desktop"
                            (string-append (assoc-ref outputs "out")
                                           "/share/applications"))
-             #t)))))
+             #t))
+         (add-after 'install 'install-icons
+           (lambda* (#:key make-flags #:allow-other-keys)
+             (apply invoke "make" "-C" "icon" "install" make-flags))))))
     (inputs
      `(("freetype" ,freetype)
        ("giflib" ,giflib)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]