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
(base32
"0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
(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"))
(colors (string-append vimfiles "/colors")))
(copy-recursively "colors" colors)
#t))))))
'(#:install-plan
'(("colors" "share/vim/vimfiles/"))))
(synopsis "Dark color theme for Vim")
(description
"@code{vim-luna} is a dark color theme for Vim.")