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

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

View file

@ -417,20 +417,10 @@ (define-public vim-luna
(sha256 (sha256
(base32 (base32
"0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8")))) "0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
(build-system gnu-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:tests? #f '(#:install-plan
#:phases '(("colors" "share/vim/vimfiles/"))))
(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"))
(colors (string-append vimfiles "/colors")))
(copy-recursively "colors" colors)
#t))))))
(synopsis "Dark color theme for Vim") (synopsis "Dark color theme for Vim")
(description (description
"@code{vim-luna} is a dark color theme for Vim.") "@code{vim-luna} is a dark color theme for Vim.")