From 1d4c2dabefdc5e957ed74a58066f8faa8e0fb70e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 29 Jan 2019 14:05:47 +0100 Subject: gnu: texlive-latex-seminar: Copy files to output. * gnu/packages/tex.scm (texlive-latex-seminar)[build-system]: Use trivial-build-system. [arguments]: Copy files to output. --- gnu/packages/tex.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 32b3e982d9..5a577a5e9b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2766,8 +2766,17 @@ re-processing.") (sha256 (base32 "0y4i651b75y6006n03x8n86bsqvjsailvvz9bhzy51dzsznqidq0")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/seminar")) + (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/seminar"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) (home-page "https://www.ctan.org/pkg/seminar") (synopsis "Make overhead slides") ;; TODO: This package may need fancybox and xcomment at runtime. -- cgit v1.2.3