guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: Add texlive-stmaryrd/fixed.


From: guix-commits
Subject: 04/05: gnu: Add texlive-stmaryrd/fixed.
Date: Sun, 13 Feb 2022 03:38:28 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit f0ada3f78f5e2eabd9570b3524eea601eca00ab2
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Feb 12 23:25:53 2022 +0100

    gnu: Add texlive-stmaryrd/fixed.
    
    * gnu/packages/tex.scm (texlive-stmaryrd/fixed): New variable.
---
 gnu/packages/tex.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3d54a1e863..753a6e8d8d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6534,6 +6534,25 @@ use under LaTeX; the package supports the @code{only} 
option (provided by the
 the whole font.")
       (license license:lppl))))
 
+(define-public texlive-stmaryrd/fixed
+  (package
+    (inherit texlive-stmaryrd)
+    (name "texlive-stmaryrd-fixed")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-stmaryrd)
+       ((#:tex-directory _ #t)
+        "latex/stmaryrd")
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-before 'copy-files 'unchdir
+             (lambda _
+               (chdir "../../..")))
+           (add-after 'copy-files 'delete-extra-files
+             (lambda* (#:key outputs #:allow-other-keys)
+               (delete-file-recursively
+                (string-append (assoc-ref outputs "out")
+                               
"/share/texmf-dist/source/fonts/stmaryrd/build"))))))))))
+
 (define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
 
 (define-public texlive-latex-subfigure



reply via email to

[Prev in Thread] Current Thread [Next in Thread]