[arch-commits] Commit in vim-clap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu Jul 22 03:17:22 UTC 2021
Date: Thursday, July 22, 2021 @ 03:17:21
Author: polyzen
Revision: 982792
archrelease: copy trunk to community-x86_64
Added:
vim-clap/repos/community-x86_64/PKGBUILD
(from rev 982791, vim-clap/trunk/PKGBUILD)
Deleted:
vim-clap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 105 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-22 03:16:59 UTC (rev 982791)
+++ PKGBUILD 2021-07-22 03:17:21 UTC (rev 982792)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=vim-clap
-pkgver=0.26
-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=('17230a6515934608f4b5785c30981cee0a3f900c103c2597fbd8af2abb760ca4cec2a4c24672aa6dbc3cf669284563894a53fff6185a36fe8a3ec658a4a6d5c0')
-
-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 982791, vim-clap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-22 03:17:21 UTC (rev 982792)
@@ -0,0 +1,53 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=vim-clap
+pkgver=0.27
+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-$pkgver.tar.gz")
+b2sums=('11357b28011b1632f044e6a2fbc3e9ddfca1a217169fb37768596b3a53ee3a1f2b34662525d2d66f7fd8d4eb93df4f6a80760c16c283f1bfe67a53a4ac3fcbff')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's,/setup_python.py,/pythonx/clap/setup_python.py,' \
+ autoload/clap/filter/sync/python.vim
+ cargo fetch --locked
+}
+
+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