[arch-commits] Commit in vim-clap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri Jan 22 21:51:57 UTC 2021
Date: Friday, January 22, 2021 @ 21:51:57
Author: polyzen
Revision: 825205
archrelease: copy trunk to community-x86_64
Added:
vim-clap/repos/community-x86_64/PKGBUILD
(from rev 825203, vim-clap/trunk/PKGBUILD)
Deleted:
vim-clap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 103 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-22 21:51:56 UTC (rev 825204)
+++ PKGBUILD 2021-01-22 21:51:57 UTC (rev 825205)
@@ -1,51 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=vim-clap
-pkgver=0.22
-pkgrel=2
-pkgdesc='Modern performant generic finder and dispatcher for Vim and NeoVim'
-arch=('x86_64')
-url=https://github.com/liuchengxu/vim-clap
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('python' 'rust')
-optdepends=('ctags: for the proj_tags provider'
- 'git: for the bcommits, commits, files, gfiles or git_files, and git_diff_files providers'
- 'python: for the Python dynamic module'
- 'ripgrep: for the files and grep providers')
-source=("$url/archive/v$pkgver/vim-clap-v$pkgver.tar.gz")
-b2sums=('6fe672853936f556f456e9d0852cd4886b9d81a694c8b2e823097561a9fb8588b5811409c28ef002c96d3a4db2404a1543431868c5dc7a7a47fe60d7cdeb3311')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's,/setup_python.py,/pythonx/clap/setup_python.py,' \
- autoload/clap/filter/sync/python.vim
-}
-
-build() {
- cd $pkgname-$pkgver
- cargo build --release --locked
- cd pythonx/clap/fuzzymatch-rs
- cargo build --release --locked
-}
-
-check() {
- cd $pkgname-$pkgver/crates
- cargo test --release
- cd ../pythonx/clap/fuzzymatch-rs
- cargo test --no-default-features --release --locked
-}
-
-package() {
- cd $pkgname-$pkgver
- install -Dt "$pkgdir"/usr/bin target/release/maple
- install -Dm644 pythonx/clap/fuzzymatch-rs/target/release/libfuzzymatch_rs.so \
- "$pkgdir"/usr/lib/fuzzymatch_rs.so
- install -Dm644 -t "$pkgdir"/usr/share/vim/vimfiles/pythonx/clap \
- pythonx/clap/*.py setup_python.py
- ln -s /usr/lib/fuzzymatch_rs.so "$pkgdir"/usr/share/vim/vimfiles/pythonx/clap
- cp -r autoload doc ftplugin lua plugin syntax "$pkgdir"/usr/share/vim/vimfiles
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: vim-clap/repos/community-x86_64/PKGBUILD (from rev 825203, vim-clap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-22 21:51:57 UTC (rev 825205)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=vim-clap
+pkgver=0.22
+pkgrel=3
+pkgdesc='Modern performant generic finder and dispatcher for Vim and NeoVim'
+arch=('x86_64')
+url=https://github.com/liuchengxu/vim-clap
+license=('MIT')
+groups=('vim-plugins')
+depends=('gcc-libs')
+makedepends=('python' 'rust')
+optdepends=('ctags: for the proj_tags provider'
+ 'git: for the bcommits, commits, files, gfiles or git_files, and git_diff_files providers'
+ 'python: for the Python dynamic module'
+ 'ripgrep: for the files and grep providers')
+source=("$url/archive/v$pkgver/vim-clap-v$pkgver.tar.gz")
+b2sums=('6fe672853936f556f456e9d0852cd4886b9d81a694c8b2e823097561a9fb8588b5811409c28ef002c96d3a4db2404a1543431868c5dc7a7a47fe60d7cdeb3311')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's,/setup_python.py,/pythonx/clap/setup_python.py,' \
+ autoload/clap/filter/sync/python.vim
+}
+
+build() {
+ cd $pkgname-$pkgver
+ cargo build --release --locked
+ cd pythonx/clap/fuzzymatch-rs
+ cargo build --release --locked
+}
+
+check() {
+ cd $pkgname-$pkgver/crates
+ cargo test --release
+ cd ../pythonx/clap/fuzzymatch-rs
+ cargo test --no-default-features --release --locked
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dt "$pkgdir"/usr/bin target/release/maple
+ install -Dm644 pythonx/clap/fuzzymatch-rs/target/release/libfuzzymatch_rs.so \
+ "$pkgdir"/usr/lib/fuzzymatch_rs.so
+ install -Dm644 -t "$pkgdir"/usr/share/vim/vimfiles/pythonx/clap \
+ pythonx/clap/*.py setup_python.py
+ ln -s /usr/lib/fuzzymatch_rs.so "$pkgdir"/usr/share/vim/vimfiles/pythonx/clap
+ cp -r autoload doc ftplugin lua plugin syntax "$pkgdir"/usr/share/vim/vimfiles
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list