gnu: vim-fugitive: Use copy-build-system.
* gnu/packages/vim.scm (vim-fugitive)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.master
parent
0b350f73fe
commit
b274d2a6cb
|
@ -469,28 +469,14 @@ trouble using them, because you do not have to remember each snippet name.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jbn5jxadccmcz01j94d0i1bp74cixr0fpxxf1h0aqdf1ljk3d7n"))))
|
"1jbn5jxadccmcz01j94d0i1bp74cixr0fpxxf1h0aqdf1ljk3d7n"))))
|
||||||
(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)
|
("plugin" "share/vim/vimfiles/")
|
||||||
(replace 'install
|
("syntax" "share/vim/vimfiles/"))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(vimfiles (string-append out "/share/vim/vimfiles"))
|
|
||||||
(autoload (string-append vimfiles "/autoload"))
|
|
||||||
(doc (string-append vimfiles "/doc"))
|
|
||||||
(ftdetect (string-append vimfiles "/ftdetect"))
|
|
||||||
(plugin (string-append vimfiles "/plugin"))
|
|
||||||
(syntax (string-append vimfiles "/syntax")))
|
|
||||||
(copy-recursively "autoload" autoload)
|
|
||||||
(copy-recursively "doc" doc)
|
|
||||||
(copy-recursively "ftdetect" ftdetect)
|
|
||||||
(copy-recursively "plugin" plugin)
|
|
||||||
(copy-recursively "syntax" syntax)
|
|
||||||
#t))))))
|
|
||||||
(home-page "https://github.com/tpope/vim-fugitive")
|
(home-page "https://github.com/tpope/vim-fugitive")
|
||||||
(synopsis "Vim plugin to work with Git")
|
(synopsis "Vim plugin to work with Git")
|
||||||
(description "Vim-fugitive is a wrapper for Vim that complements the
|
(description "Vim-fugitive is a wrapper for Vim that complements the
|
||||||
|
|
Reference in New Issue