gnu: font-spleen: Remove unnecessary custom install phase.

* gnu/packages/fonts.scm (font-spleen)[arguments]: Remove field.

Change-Id: I731b0b6859f9351632b9faf2f486ee194f7e312a
This commit is contained in:
宋文武 2024-04-21 17:42:17 +08:00 committed by Andreas Enge
parent 30216a42e8
commit 9b4672fd6b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -3626,52 +3626,6 @@ (define-public font-spleen
(build-system font-build-system)
(outputs '("out" ;OTB
"bdf" "otf" "pcf" "psf"))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((otb (assoc-ref outputs "out"))
(bdf (assoc-ref outputs "bdf"))
(otf (assoc-ref outputs "otf"))
(pcf (assoc-ref outputs "pcf"))
(psf (assoc-ref outputs "psf"))
(otb-font-dir (string-append (assoc-ref outputs
"out")
"/share/fonts/misc"))
(bdf-font-dir (string-append (assoc-ref outputs
"bdf")
"/share/fonts/misc"))
(otf-font-dir (string-append (assoc-ref outputs
"otf")
"/share/fonts/opentype"))
(pcf-font-dir (string-append (assoc-ref outputs
"pcf")
"/share/fonts/misc"))
(psf-font-dir (string-append (assoc-ref outputs
"psf")
"/share/consolefonts")))
(mkdir-p otb-font-dir)
(mkdir-p bdf-font-dir)
(mkdir-p otf-font-dir)
(mkdir-p pcf-font-dir)
(mkdir-p psf-font-dir)
(for-each (lambda (otb)
(install-file otb otb-font-dir))
(find-files "." "\\.otb$"))
(for-each (lambda (bdf)
(install-file bdf bdf-font-dir))
(find-files "." "\\.bdf$"))
(for-each (lambda (otf)
(install-file otf otf-font-dir))
(find-files "." "\\.otf$"))
(for-each (lambda (pcf)
(install-file pcf pcf-font-dir))
(find-files "." "\\.pcf$"))
(for-each (lambda (psf)
(install-file psf psf-font-dir))
(find-files "." "\\.psfu$"))) #t)))))
(home-page "https://www.cambus.net/spleen-monospaced-bitmap-fonts/")
(synopsis "Monospaced bitmap font for consoles and terminals")
(description