From 84ec7b70090c7bf886cd9d023396d6d2e6e663fb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 4 Mar 2020 11:39:05 +0200 Subject: gnu: vim-luna: Use copy-build-system. * gnu/packages/vim.scm (vim-luna)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly. --- gnu/packages/vim.scm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index f6c6d036f5..ca39effd14 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -417,20 +417,10 @@ trouble using them, because you do not have to remember each snippet name.") (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.") -- cgit 1.4.1