guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/15: gnu: vim-airline-themes: Use copy-build-system.


From: guix-commits
Subject: 12/15: gnu: vim-airline-themes: Use copy-build-system.
Date: Wed, 4 Mar 2020 05:10:33 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit e114aa2060a8b43ceee2f38b34a49f888c5b47bd
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 4 11:50:33 2020 +0200

    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.
---
 gnu/packages/vim.scm | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 116bc68..e199be4 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}.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]