[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: vim-syntastic: Use copy-build-system.
From: |
guix-commits |
Subject: |
13/15: gnu: vim-syntastic: 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 8e38ed1f044a5b42676a35543e452995ac84bc22
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 4 11:52:59 2020 +0200
gnu: vim-syntastic: Use copy-build-system.
* gnu/packages/vim.scm (vim-syntastic)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
(neovim-syntastic): Same.
---
gnu/packages/vim.scm | 48 +++++++++++-------------------------------------
1 file changed, 11 insertions(+), 37 deletions(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index e199be4..f78d1d0 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -555,26 +555,13 @@ and powerline symbols, etc.")
(file-name (git-file-name name version))
(sha256
(base32 "0j91f72jaz1s6aw1hpjiz30vk2ds2aqd9gisk91grsldy6nz6hhz"))))
- (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"))
- (syntax-checkers (string-append vimfiles
"/syntax_checkers")))
- (copy-recursively "doc" doc)
- (copy-recursively "autoload" autoload)
- (copy-recursively "plugin" plugin)
- (copy-recursively "syntax_checkers" syntax-checkers)
- #t))))))
+ '(#:install-plan
+ '(("autoload" "share/vim/vimfiles/")
+ ("doc" "share/vim/vimfiles/")
+ ("plugin" "share/vim/vimfiles/")
+ ("syntax_checkers" "share/vim/vimfiles/"))))
(synopsis "Syntax checking plugin for Vim")
(description
"Vim-syntastic is a syntax checking plugin for Vim. It runs files through
@@ -642,24 +629,11 @@ editors.")
(inherit vim-syntastic)
(name "neovim-syntastic")
(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/nvim/site"))
- (doc (string-append vimfiles "/doc"))
- (plugin (string-append vimfiles "/plugin"))
- (autoload (string-append vimfiles "/autoload"))
- (syntax-checkers (string-append vimfiles
"/syntax_checkers")))
- (copy-recursively "doc" doc)
- (copy-recursively "autoload" autoload)
- (copy-recursively "plugin" plugin)
- (copy-recursively "syntax_checkers" syntax-checkers)
- #t))))))
+ '(#:install-plan
+ '(("autoload" "share/nvim/site/")
+ ("doc" "share/nvim/site/")
+ ("plugin" "share/nvim/site/")
+ ("syntax_checkers" "share/nvim/site/"))))
(synopsis "Syntax checking plugin for Neovim")
(description
"Vim-syntastic is a syntax checking plugin for Neovim. It runs files
through
- 06/15: gnu: vim-neosnippet: Use copy-build-system., (continued)
- 06/15: gnu: vim-neosnippet: Use copy-build-system., guix-commits, 2020/03/04
- 03/15: gnu: unicode-cldr-common: Use copy-build-system., guix-commits, 2020/03/04
- 10/15: gnu: vim-fugitive: Use copy-build-system., guix-commits, 2020/03/04
- 08/15: gnu: vim-luna: Use copy-build-system., guix-commits, 2020/03/04
- 09/15: gnu: vim-context-filetype: Use copy-build-system., guix-commits, 2020/03/04
- 07/15: gnu: vim-scheme: Use copy-build-system., guix-commits, 2020/03/04
- 01/15: gnu: zziplib: Fix CVE-2018-16548., guix-commits, 2020/03/04
- 12/15: gnu: vim-airline-themes: Use copy-build-system., guix-commits, 2020/03/04
- 15/15: gnu: vim-guix-vim: Use copy-build-system., guix-commits, 2020/03/04
- 11/15: gnu: vim-airline: Use copy-build-system., guix-commits, 2020/03/04
- 13/15: gnu: vim-syntastic: Use copy-build-system.,
guix-commits <=
- 14/15: gnu: editorconfig-vim: Use copy-build-system., guix-commits, 2020/03/04