me
/
guix
Archived
1
0
Fork 0

gnu: calibre: Install mimetypes.

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

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
master
Brendan Tildesley 2017-11-04 02:44:03 +11:00 committed by Marius Bakke
parent 9132212fb8
commit 743d3f6502
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 0 deletions

View File

@ -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")