me
/
guix
Archived
1
0
Fork 0

gnu: vim-scheme: Use copy-build-system.

* gnu/packages/vim.scm (vim-scheme)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
master
Efraim Flashner 2020-03-04 11:36:24 +02:00
parent f19e539c3e
commit 0db06e7da9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 17 deletions

View File

@ -389,24 +389,12 @@ trouble using them, because you do not have to remember each snippet name.")
(sha256 (sha256
(base32 (base32
"1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv")))) "1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv"))))
(build-system gnu-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:tests? #f '(#:install-plan
#:phases '(("after" "share/vim/vimfiles/")
(modify-phases %standard-phases ("ftplugin" "share/vim/vimfiles/")
(delete 'configure) ("syntax" "share/vim/vimfiles/"))))
(delete 'build)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(vimfiles (string-append out "/share/vim/vimfiles"))
(after (string-append vimfiles "/after"))
(syntax (string-append vimfiles "/syntax"))
(ftplugin (string-append vimfiles "/ftplugin")))
(copy-recursively "after" after)
(copy-recursively "ftplugin" ftplugin)
(copy-recursively "syntax" syntax)
#t))))))
(synopsis "Scheme syntax for Vim") (synopsis "Scheme syntax for Vim")
(description (description
"@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).") "@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")