mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: font-dseg: Simplify "install" phase.
* gnu/packages/fonts.scm (font-dseg)[source]: Use url-fetch. [arguments]<#:phases>: Remove "with-directory-excursion" from "install" phase.
This commit is contained in:
parent
6bb9888273
commit
13e9e6d215
1 changed files with 4 additions and 8 deletions
|
@ -2657,7 +2657,7 @@ (define-public font-dseg
|
|||
(version "0.46")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch/zipbomb)
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/keshikan/DSEG/"
|
||||
"releases/download/v" version
|
||||
|
@ -2675,13 +2675,9 @@ (define-public font-dseg
|
|||
(let* ((out (assoc-ref outputs "out"))
|
||||
(font-dir (string-append out "/share/fonts"))
|
||||
(truetype-dir (string-append font-dir "/truetype")))
|
||||
(with-directory-excursion
|
||||
(string-append "fonts-DSEG_v"
|
||||
(apply string-append (string-split ,version
|
||||
#\.)))
|
||||
(for-each (lambda (f) (install-file f truetype-dir))
|
||||
(find-files "." "\\.ttf$"))
|
||||
#t)))))))
|
||||
(for-each (lambda (f) (install-file f truetype-dir))
|
||||
(find-files "." "\\.ttf$"))
|
||||
#t))))))
|
||||
(home-page "https://www.keshikan.net/fonts-e.html")
|
||||
(synopsis "DSEG: 7-segment and 14-segment fonts")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue