diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 11:48:07 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 11:48:07 +0200 |
commit | 8423c6f3b2606d0f9f0d190dc39b50c1ec197844 (patch) | |
tree | aa29f6a3b20c6c3fd2cd4a487c7260c28ac72143 /gnu | |
parent | b274d2a6cb6fddedbc75e09fd55b76cec371d4ff (diff) | |
download | guix-8423c6f3b2606d0f9f0d190dc39b50c1ec197844.tar.gz guix-8423c6f3b2606d0f9f0d190dc39b50c1ec197844.zip |
gnu: vim-airline: Use copy-build-system.
* gnu/packages/vim.scm (vim-airline)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/vim.scm | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 4920834898..116bc68dfd 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -498,26 +498,13 @@ commit or run any Git arbitrary command.") (sha256 (base32 "1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k")))) - (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")) - (autoload (string-append vimfiles "/autoload")) - (doc (string-append vimfiles "/doc")) - (t (string-append vimfiles "/t")) - (plugin (string-append vimfiles "/plugin"))) - (copy-recursively "autoload" autoload) - (copy-recursively "doc" doc) - (copy-recursively "plugin" plugin) - (copy-recursively "t" t) - #t)))))) + '(#:install-plan + '(("autoload" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/") + ("t" "share/vim/vimfiles/")))) (synopsis "Statusline for Vim") (description "@code{vim-airline} is an extensible statusline for Vim. |