gnu: calibre: Install mimetypes.
* gnu/packages/ebook.scm (calibre)[arguments]: Install mimetypes xml file. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
9132212fb8
commit
743d3f6502
|
@ -183,6 +183,12 @@
|
||||||
(find-files (string-append
|
(find-files (string-append
|
||||||
(assoc-ref inputs "font-liberation")
|
(assoc-ref inputs "font-liberation")
|
||||||
"/share/fonts/truetype")))
|
"/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)))))
|
#t)))))
|
||||||
(home-page "http://calibre-ebook.com/")
|
(home-page "http://calibre-ebook.com/")
|
||||||
(synopsis "E-book library management software")
|
(synopsis "E-book library management software")
|
||||||
|
|
Loading…
Reference in New Issue