guix-commits
[Top][All Lists]
Advanced

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

383/418: gnu: texlive-lastpage: Remove SIMPLE-TEXLIVE-PACKAGE call.


From: guix-commits
Subject: 383/418: gnu: texlive-lastpage: Remove SIMPLE-TEXLIVE-PACKAGE call.
Date: Fri, 2 Jun 2023 17:25:58 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit a06a243a62f6a379895b161a28403e593673c78e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu May 18 14:31:22 2023 +0200

    gnu: texlive-lastpage: Remove SIMPLE-TEXLIVE-PACKAGE call.
    
    * gnu/packages/tex.scm (texlive-lastpage!): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f31ed9948e..99b53f2e2a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -13725,28 +13725,25 @@ underscores), and hyphenation of text typeset in 
monospaced (e.g.,
 (define-deprecated-package texlive-latex-hyphenat texlive-hyphenat)
 
 (define-public texlive-lastpage
-  (let ((template  (simple-texlive-package
-                    "texlive-lastpage"
-                    (list "doc/latex/lastpage/"
-                          "source/latex/lastpage/"
-                          "tex/latex/lastpage/")
-                    (base32
-                     "1cmzl0jkid4w60bjlyxrc5bynbc3lwq5nr77rsip0q9hprxykxks"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ #t) "latex/lastpage")
-         ((#:build-targets _ '()) '(list "lastpage.ins"))))
-      (home-page "https://ctan.org/pkg/lastpage";)
-      (synopsis "Reference last page for Page N of M type footers")
-      (description
-       "This package enables referencing the number of pages in a LaTeX
-document through the introduction of a new label which can be referenced like
+  (package
+    (name "texlive-lastpage")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/lastpage/" "source/latex/lastpage/"
+                   "tex/latex/lastpage/")
+             (base32
+              "1cmzl0jkid4w60bjlyxrc5bynbc3lwq5nr77rsip0q9hprxykxks")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/lastpage";)
+    (synopsis "Reference last page for Page N of M type footers")
+    (description
+     "This package enables referencing the number of pages in a LaTeX document
+through the introduction of a new label which can be referenced like
 @code{\\pageref{LastPage}} to give a reference to the last page of a document.
 It is particularly useful in the page footer that says: @samp{Page N of M}.")
-      (license license:lppl1.3+))))
+    (license license:lppl1.3+)))
 
 (define-deprecated-package texlive-latex-lastpage texlive-lastpage)
 



reply via email to

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