me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/vim.scm (vim-airline-themes)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
master
Efraim Flashner 2020-03-04 11:50:33 +02:00
parent 8423c6f3b2
commit e114aa2060
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 17 deletions

View File

@ -530,24 +530,12 @@ and powerline symbols, etc.")
(sha256 (sha256
(base32 (base32
"1sb7nb7j7bz0pv1c9bgdy0smhr0jk2b1vbdv9yzghg5lrknpsbr6")))) "1sb7nb7j7bz0pv1c9bgdy0smhr0jk2b1vbdv9yzghg5lrknpsbr6"))))
(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)
(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"))
(plugin (string-append vimfiles "/plugin"))
(autoload (string-append vimfiles "/autoload")))
(copy-recursively "doc" doc)
(copy-recursively "autoload" autoload)
(copy-recursively "plugin" plugin)
#t))))))
(synopsis "Collection of themes for Vim-airline") (synopsis "Collection of themes for Vim-airline")
(description (description
"@code{vim-airline-themes} is a collection of themes for @code{vim-airline}.") "@code{vim-airline-themes} is a collection of themes for @code{vim-airline}.")