aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-07-14 22:28:33 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-07-24 09:46:47 +0200
commit14a87760facdcdfab205f25273ee9e8df33b9c07 (patch)
treea280b5aee8dba0df99adbd616c477bd7bfc612dc /gnu/packages/tex.scm
parentcdc960922d96a8f24f217b6721165ab0d12cab5a (diff)
downloadpatches-14a87760facdcdfab205f25273ee9e8df33b9c07.tar
patches-14a87760facdcdfab205f25273ee9e8df33b9c07.tar.gz
gnu: texlive-fontname: Simplify.
* gnu/packages/tex.scm (texlive-fontname): Implement with SIMPLE-TEXLIVE-PACKAGE.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm31
1 files changed, 7 insertions, 24 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 1722414506..119a1ffbf9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -665,30 +665,13 @@ typesetting in these fonts.")
(define-public texlive-fontname
(package
- (name "texlive-fontname")
- (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/"
- "/fonts/map/fontname"))
- (revision %texlive-revision)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "05rbn7z30xawd3n6w7c3ijp2yc67ga220jgqmkla9pd9wx185rzq"))))
- (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/fonts/map/fontname")))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs "source") target)
- #t))))
+ (inherit (simple-texlive-package
+ "texlive-fontname"
+ (list "/doc/fonts/fontname/fontname.texi"
+ "/fonts/map/fontname/")
+ (base32
+ "0h5im5rnhycrrkd6z10f17m2caa8lv594wf482b68qjmnxfrqnxj")
+ #:trivial? #t))
(home-page "https://www.ctan.org/pkg/fontname")
(synopsis "Scheme for naming fonts in TeX")
(description "This is Fontname, a naming scheme for (the base part of)