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.
This commit is contained in:
Ricardo Wurmus 2019-01-29 14:05:47 +01:00
parent 2790b6670b
commit 1d4c2dabef
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 2 deletions

View File

@ -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.