[arch-commits] Commit in vim-clap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Sun Apr 25 08:19:08 UTC 2021
Date: Sunday, April 25, 2021 @ 08:19:08
Author: polyzen
Revision: 924006
archrelease: copy trunk to community-x86_64
Added:
vim-clap/repos/community-x86_64/PKGBUILD
(from rev 924005, 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-04-25 08:18:45 UTC (rev 924005)
+++ PKGBUILD 2021-04-25 08:19:08 UTC (rev 924006)
@@ -1,52 +0,0 @@
-# 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:
Copied: vim-clap/repos/community-x86_64/PKGBUILD (from rev 924005, vim-clap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-25 08:19:08 UTC (rev 924006)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=vim-clap
+pkgver=0.25
+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=('fae827d5f85392dee2b7538612913d8d48e0b53741ac58897713d49384abd772d7e758a2603f24074a9fd8cb41d07124682bcab244aebd5f474686d658a8d8c4')
+
+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