gnu: vim-context-filetype: Use copy-build-system.

* gnu/packages/vim.scm (vim-context-filetype)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
This commit is contained in:
Efraim Flashner 2020-03-04 11:41:11 +02:00
parent 84ec7b7009
commit 0b350f73fe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -444,22 +444,11 @@ (define-public vim-context-filetype
(sha256
(base32
"0alvrfhmd91zkd9h83s8wvgyq4iakcf6rybsyjd369qbgpcqky89"))))
(build-system gnu-build-system)
(build-system copy-build-system)
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(vimfiles (string-append out "/share/vim/vimfiles"))
(doc (string-append vimfiles "/doc"))
(autoload (string-append vimfiles "/autoload")))
(copy-recursively "doc" doc)
(copy-recursively "autoload" autoload)
#t))))))
'(#:install-plan
'(("doc" "share/vim/vimfiles/")
("autoload" "share/vim/vimfiles/"))))
(synopsis "Context filetype library for Vim")
(description
"@code{vim-context-filetype} is context filetype library for Vim script.")