me
/
guix
Archived
1
0
Fork 0

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

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

View File

@ -350,34 +350,17 @@ you can fill in on the fly.")
(sha256 (sha256
(base32 (base32
"0k80syscmpnj38ks1fq02ds59g0r4jlg9ll7z4qc048mgi35alw5")))) "0k80syscmpnj38ks1fq02ds59g0r4jlg9ll7z4qc048mgi35alw5"))))
(build-system gnu-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:tests? #f '(#:install-plan
#:phases '(("autoload" "share/vim/vimfiles/")
(modify-phases %standard-phases ("doc" "share/vim/vimfiles/")
(delete 'configure) ("ftdetect" "share/vim/vimfiles/")
(delete 'build) ("ftplugin" "share/vim/vimfiles/")
(replace 'install ("indent" "share/vim/vimfiles/")
(lambda* (#:key outputs #:allow-other-keys) ("plugin" "share/vim/vimfiles/")
(let* ((out (assoc-ref outputs "out")) ("rplugin" "share/vim/vimfiles/")
(vimfiles (string-append out "/share/vim/vimfiles")) ("syntax" "share/vim/vimfiles/"))))
(autoload (string-append vimfiles "/autoload"))
(doc (string-append vimfiles "/doc"))
(ftdetect (string-append vimfiles "/ftdetect"))
(ftplugin (string-append vimfiles "/ftplugin"))
(indent (string-append vimfiles "/indent"))
(plugin (string-append vimfiles "/plugin"))
(rplugin (string-append vimfiles "/rplugin"))
(syntax (string-append vimfiles "/syntax")))
(copy-recursively "autoload" autoload)
(copy-recursively "doc" doc)
(copy-recursively "ftdetect" ftdetect)
(copy-recursively "ftplugin" ftplugin)
(copy-recursively "indent" indent)
(copy-recursively "plugin" plugin)
(copy-recursively "rplugin" rplugin)
(copy-recursively "syntax" syntax)
#t))))))
(synopsis "Snippet support for Vim") (synopsis "Snippet support for Vim")
(description (description
"@code{neosnippet}, is a plugin for Vim which adds snippet support to Vim. "@code{neosnippet}, is a plugin for Vim which adds snippet support to Vim.