me
/
guix
Archived
1
0
Fork 0

gnu: vim-neocomplete: Use copy-build-system.

* gnu/packages/vim.scm (vim-neocomplete)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
master
Efraim Flashner 2020-03-04 10:56:47 +02:00
parent 4beac3a898
commit 72194753d9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 17 deletions

View File

@ -32,6 +32,7 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (gnu packages) #:use-module (gnu packages)
@ -287,24 +288,12 @@ written in the Python 3, Perl, Ruby, Tcl, and Lua programming languages.")))
(sha256 (sha256
(base32 (base32
"1h6sci5mhdfg6sjsjpi8l5li02hg858zcayiwl60y9j2gqnd18lv")))) "1h6sci5mhdfg6sjsjpi8l5li02hg858zcayiwl60y9j2gqnd18lv"))))
(build-system gnu-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:tests? #f '(#:install-plan
#:phases '(("autoload" "share/vim/vimfiles/")
(modify-phases %standard-phases ("doc" "share/vim/vimfiles/")
(delete 'configure) ("plugin" "share/vim/vimfiles/"))))
(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"))
(plugin (string-append vimfiles "/plugin")))
(copy-recursively "autoload" autoload)
(copy-recursively "doc" doc)
(copy-recursively "plugin" plugin)
#t))))))
(synopsis "Next generation completion framework for Vim") (synopsis "Next generation completion framework for Vim")
(description (description
"@code{neocomplete}, an abbreviation of 'neo-completion with cache', "@code{neocomplete}, an abbreviation of 'neo-completion with cache',