Date: Saturday, October 29, 2022 @ 07:18:40
Author: grawlinson
Revision: 1338531
archrelease: copy trunk to community-x86_64
Added:
skim/repos/community-x86_64/PKGBUILD
(from rev 1338530, skim/trunk/PKGBUILD)
Deleted:
skim/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 70 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-29 07:17:07 UTC (rev 1338530)
+++ PKGBUILD 2022-10-29 07:18:40 UTC (rev 1338531)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: fenuks
-
-pkgname=skim
-pkgver=0.9.4
-pkgrel=2
-pkgdesc='Fuzzy Finder in rust!'
-arch=('x86_64')
-url=https://github.com/lotabout/skim
-license=('MIT')
-depends=('ncurses')
-makedepends=('rust')
-optdepends=('bash: for resp. completions and key bindings, and for sk-tmux
script'
- 'fish: for resp. key bindings'
- 'tmux: for sk-tmux script'
- 'vim-plugin-runtime: for N/Vim plugin'
- 'zsh: for resp. completions and key bindings')
-source=("skim-$pkgver.tar.gz::https://static.crates.io/crates/skim/skim-$pkgver.crate")
-b2sums=('b41f0f0f22f0bef615ec6b013c2d95149ad4a13fde438b7b25064d706388531d25fafaa8c5b576f7fbb231c2c11007e7e38446033ab23af59ffea82412b50c83')
-
-prepare() {
- cd skim-$pkgver
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd skim-$pkgver
- cargo build --release --locked --offline
-}
-
-check() {
- cd skim-$pkgver
- cargo test --locked --offline
-}
-
-package() {
- cd skim-$pkgver
- install -Dt "$pkgdir"/usr/bin target/release/sk bin/sk-tmux
- install -Dm644 -t "$pkgdir"/usr/share/man/man1 man/man1/*
- install -Dm644 -t "$pkgdir"/usr/share/skim shell/*.bash shell/*.zsh
- install -Dm644 shell/key-bindings.fish
"$pkgdir"/usr/share/fish/functions/skim_key_bindings.fish
- install -Dm644 -t "$pkgdir"/usr/share/vim/vimfiles/plugin plugin/skim.vim
- install -Dm644 -t "$pkgdir"/usr/share/licenses/skim LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: skim/repos/community-x86_64/PKGBUILD (from rev 1338530,
skim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-29 07:18:40 UTC (rev 1338531)
@@ -0,0 +1,70 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: fenuks
+
+pkgname=skim
+pkgver=0.10.1
+pkgrel=1
+pkgdesc='Fuzzy Finder in Rust!'
+arch=('x86_64')
+url='https://github.com/lotabout/skim'
+license=('MIT')
+depends=('ncurses')
+makedepends=('git' 'rust')
+optdepends=(
+ 'bash: for resp. completions and key bindings, and for sk-tmux script'
+ 'fish: for resp. key bindings'
+ 'tmux: for sk-tmux script'
+ 'vim-plugin-runtime: for N/Vim plugin'
+ 'zsh: for resp. completions and key bindings'
+)
+_commit='afe16670dc00658a17fcdb3c267f7e25236ca68a'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd "$pkgname"
+
+ # download dependencies
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname"
+
+ cargo build --frozen --release --all-features
+}
+
+check() {
+ cd "$pkgname"
+
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd "$pkgname"
+
+ # binary
+ install -vDm755 -t "$pkgdir/usr/bin" target/release/sk bin/sk-tmux
+
+ # man pages
+ install -vDm644 -t "$pkgdir/usr/share/man/man1" man/man1/*
+
+ # vim plugin
+ install -vDm644 -t "$pkgdir/usr/share/vim/vimfiles/plugin" plugin/skim.vim
+
+ # key bindings
+ install -vDm644 -t "$pkgdir/usr/share/skim" shell/*.bash shell/*.zsh
+ install -vDm644 shell/key-bindings.fish
"$pkgdir/usr/share/fish/functions/skim_key_bindings.fish"
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et: