[arch-commits] Commit in vim-clap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Sat Mar 13 11:17:19 UTC 2021
Date: Saturday, March 13, 2021 @ 11:17:18
Author: polyzen
Revision: 890184
archrelease: copy trunk to community-x86_64
Added:
vim-clap/repos/community-x86_64/PKGBUILD
(from rev 890183, vim-clap/trunk/PKGBUILD)
Deleted:
vim-clap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-13 11:16:55 UTC (rev 890183)
+++ PKGBUILD 2021-03-13 11:17:18 UTC (rev 890184)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=vim-clap
-pkgver=0.23
-pkgrel=1
-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=('c777fcc44e8a97d13b92e69a4bc3e1877420f04ab6c5360959832e2723c2933592eb939576f417440f0cd2ddc671f800d4cc9f59ab0bb91e443b8e79ccbb234a')
-
-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 890183, vim-clap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-13 11:17:18 UTC (rev 890184)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=vim-clap
+pkgver=0.24
+pkgrel=1
+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=('b5c40b2dcf0f0247c0f99e63ac5b7ede45d8e6e8657b9c35c98a1ec6fb8f52c65288e07ab182924f31d3eeb2f61361ae551ec46c564d09ac0c03a771043bed49')
+
+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