me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/vim.scm (vim-airline)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
master
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
1 changed files with 6 additions and 19 deletions

View File

@ -498,26 +498,13 @@ commit or run any Git arbitrary command.")
(sha256
(base32
"1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k"))))
(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"))
(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))))))
'(#:install-plan
'(("autoload" "share/vim/vimfiles/")
("doc" "share/vim/vimfiles/")
("plugin" "share/vim/vimfiles/")
("t" "share/vim/vimfiles/"))))
(synopsis "Statusline for Vim")
(description
"@code{vim-airline} is an extensible statusline for Vim.