gnu: sxiv: Install icons.

* gnu/packages/image-viewers.scm (sxiv)[arguments]: Add custom phase to
install icons.
This commit is contained in:
Efraim Flashner 2020-09-14 10:27:46 +03:00
parent d67a3beb52
commit 858bb37a1d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -218,7 +218,10 @@ (define-public sxiv
(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)