~ruther/guix-local

743d3f650297f73f328b5ca4d3f5d766482db26b — Brendan Tildesley 8 years ago 9132212
gnu: calibre: Install mimetypes.

* gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/ebook.scm
M gnu/packages/ebook.scm => gnu/packages/ebook.scm +6 -0
@@ 183,6 183,12 @@
                       (find-files (string-append
                                    (assoc-ref inputs "font-liberation")
                                    "/share/fonts/truetype")))
             #t))
         (add-after 'install-font-liberation 'install-mimetypes
           (lambda* (#:key outputs #:allow-other-keys)
             (install-file "resources/calibre-mimetypes.xml"
                           (string-append (assoc-ref outputs "out")
                                          "/share/mime/packages"))
             #t)))))
    (home-page "http://calibre-ebook.com/")
    (synopsis "E-book library management software")