summaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm38
1 files changed, 13 insertions, 25 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3b5b3d2db3..b496dab8fd 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6443,33 +6443,19 @@ does not affect @code{\\tt}, @code{\\texttt}, etc.")
(define-deprecated-package texlive-latex-upquote texlive-upquote)
-(define-public texlive-latex-anysize
+(define-public texlive-anysize
(package
- (name "texlive-latex-anysize")
+ (name "texlive-anysize")
(version (number->string %texlive-revision))
- (source (origin
- (method svn-fetch)
- (uri (svn-reference
- (url (string-append "svn://www.tug.org/texlive/tags/"
- %texlive-tag "/Master/texmf-dist/"
- "/tex/latex/anysize"))
- (revision %texlive-revision)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "19khwqjlvznc955sijhww3c4zbb0053rvzwv9nz738qknq7y18vb"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((target (string-append (assoc-ref %outputs "out")
- "/share/texmf-dist/tex/latex/anysize")))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs "source") target)
- #t))))
- (home-page "https://www.ctan.org/pkg/anysize")
+ (source (texlive-origin
+ name version
+ (list "doc/latex/anysize/"
+ "tex/latex/anysize/")
+ (base32
+ "155s0v82zpkmv97kwqhhfw52230hka9zl3wzjw1d5ayxd4n11bxq")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (home-page "https://ctan.org/pkg/anysize")
(synopsis "Simple package to set up document margins")
(description
"This is a simple package to set up document margins. This package is
@@ -6477,6 +6463,8 @@ considered obsolete; alternatives are the @code{typearea} package from the
@code{koma-script} bundle, or the @code{geometry} package.")
(license license:public-domain)))
+(define-deprecated-package texlive-latex-anysize texlive-anysize)
+
(define-public texlive-latex-appendix
(package
(name "texlive-latex-appendix")