summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:50:33 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:50:33 +0200
commite114aa2060a8b43ceee2f38b34a49f888c5b47bd (patch)
tree6287d25174b8f7ea5da4bbf1e007e8b9957c2321
parent8423c6f3b2606d0f9f0d190dc39b50c1ec197844 (diff)
downloadguix-e114aa2060a8b43ceee2f38b34a49f888c5b47bd.tar.gz
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.
-rw-r--r--gnu/packages/vim.scm22
1 files changed, 5 insertions, 17 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 116bc68dfd..e199be4e52 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -530,24 +530,12 @@ and powerline symbols, etc.")
          (sha256
           (base32
            "1sb7nb7j7bz0pv1c9bgdy0smhr0jk2b1vbdv9yzghg5lrknpsbr6"))))
-      (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"))
-                      (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))))))
+       '(#:install-plan
+         '(("autoload" "share/vim/vimfiles/")
+           ("doc" "share/vim/vimfiles/")
+           ("plugin" "share/vim/vimfiles/"))))
       (synopsis "Collection of themes for Vim-airline")
       (description
        "@code{vim-airline-themes} is a collection of themes for @code{vim-airline}.")