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

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

View file

@ -498,26 +498,13 @@ (define-public vim-airline
(sha256 (sha256
(base32 (base32
"1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k")))) "1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k"))))
(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) ("plugin" "share/vim/vimfiles/")
(delete 'build) ("t" "share/vim/vimfiles/"))))
(replace 'install
(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"))
(t (string-append vimfiles "/t"))
(plugin (string-append vimfiles "/plugin")))
(copy-recursively "autoload" autoload)
(copy-recursively "doc" doc)
(copy-recursively "plugin" plugin)
(copy-recursively "t" t)
#t))))))
(synopsis "Statusline for Vim") (synopsis "Statusline for Vim")
(description (description
"@code{vim-airline} is an extensible statusline for Vim. "@code{vim-airline} is an extensible statusline for Vim.