diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-02-27 23:12:24 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-03-09 09:28:27 +0800 |
commit | a900fa3c6c81fb9319d00966b89fa5c52fdd6ec1 (patch) | |
tree | d563e8476cf1aa36572396b3a7d03bb6a34b11f0 /gnu/packages/fonts.scm | |
parent | e4265aa97f7ba14ccba52cd163a64de3bd8fa825 (diff) | |
download | guix-a900fa3c6c81fb9319d00966b89fa5c52fdd6ec1.tar.gz |
gnu: font-chiron-sung-hk: Split outputs.
* gnu/packages/fonts.scm (font-chiron-sung-hk)[arguments]: Split outputs. [outputs]: Add "otf" and "ttf". Change-Id: Id96bba47e8f9ae9404a528bcceab3e110a05db4e
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r-- | gnu/packages/fonts.scm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index e1e4c50388..7700eaa4fa 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -3332,6 +3332,20 @@ dialects in Hong Kong and Taiwan."))) (base32 "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m")))) (build-system font-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (let ((install (assoc-ref %standard-phases 'install))) + (with-directory-excursion "VAR" + (for-each delete-file (find-files "." "\\.ttf$")) + (install #:outputs `(("out" . ,#$output)))) + (with-directory-excursion "OTF" + (install #:outputs `(("out" . ,#$output:otf)))) + (with-directory-excursion "TTF" + (install #:outputs `(("out" . ,#$output:ttf)))))))))) + (outputs '("out" "otf" "ttf")) (home-page "https://chiron-fonts.github.io/") (synopsis "Traditional Chinese Song typeface") (description |