[arch-commits] Commit in fzf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Mar 12 18:26:16 UTC 2020
Date: Thursday, March 12, 2020 @ 18:26:16
Author: foxboron
Revision: 595386
archrelease: copy trunk to community-x86_64
Added:
fzf/repos/community-x86_64/PKGBUILD
(from rev 595385, fzf/trunk/PKGBUILD)
Deleted:
fzf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 123 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-12 18:26:08 UTC (rev 595385)
+++ PKGBUILD 2020-03-12 18:26:16 UTC (rev 595386)
@@ -1,62 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor: Hermann Zahnweh (eigengrau)
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-# Contributor: foalsrock <foalsrock at gmail dot-com>
-# Contributor: jebaum <jebaum at ucla dot edu>
-
-pkgname=fzf
-pkgver=0.20.0
-pkgrel=4
-pkgdesc='Command-line fuzzy finder'
-arch=('x86_64')
-url='https://github.com/junegunn/fzf'
-license=('MIT')
-depends=('bash')
-makedepends=('git' 'go-pie')
-optdepends=('fish: fish keybindings'
- 'tmux: fzf-tmux script for launching fzf in a tmux pane'
- 'vim: plugin'
- 'zsh: zsh keybindings')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
- "git+$url.wiki")
-sha512sums=('a65294d29c59353d17468a919878f965934540eea27441292a7219aea7509c18ea31ed1d58453f890a43026e4ae58946e0122d49475e734bd9354a0e520d99e7'
- 'SKIP')
-
-build() {
- cd $pkgname-$pkgver
-
- go build -o fzf .
-}
-
-package() {
- cd $pkgname-$pkgver
-
- ## Doc
- install -dm755 "$pkgdir"/usr/share/doc/fzf/wiki
- install -m644 "$srcdir"/fzf.wiki/* "$pkgdir"/usr/share/doc/fzf/wiki
- install -m644 README.md "$pkgdir"/usr/share/doc/fzf
-
- ## Man page
- install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
-
- ## License
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/fzf/LICENSE
-
- ## Binaries
- install -dm755 "$pkgdir"/usr/bin
- install -m755 fzf bin/fzf-tmux "$pkgdir"/usr/bin/
-
- ## Completion and keybindings
- install -dm755 "$pkgdir"/usr/share/fzf
- install -m644 shell/*.bash shell/*.zsh "$pkgdir"/usr/share/fzf
-
- ## Fish keybindings
- install -Dm644 shell/key-bindings.fish "$pkgdir"/usr/share/fish/vendor_functions.d/fzf_key_bindings.fish
-
- ## Vim plugin
- install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
-}
-
Copied: fzf/repos/community-x86_64/PKGBUILD (from rev 595385, fzf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-12 18:26:16 UTC (rev 595386)
@@ -0,0 +1,61 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor: Hermann Zahnweh (eigengrau)
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+# Contributor: foalsrock <foalsrock at gmail dot-com>
+# Contributor: jebaum <jebaum at ucla dot edu>
+
+pkgname=fzf
+pkgver=0.21.0
+pkgrel=1
+pkgdesc='Command-line fuzzy finder'
+arch=('x86_64')
+url='https://github.com/junegunn/fzf'
+license=('MIT')
+depends=('bash')
+makedepends=('git' 'go-pie')
+optdepends=('fish: fish keybindings'
+ 'tmux: fzf-tmux script for launching fzf in a tmux pane'
+ 'vim: plugin'
+ 'zsh: zsh keybindings')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('8c3b7eb14ac98b386c26bd6621c54a27e904985f2e87c37ae8f31c3596196f32a817be17aa5e7dd399757cb90b5f25c35ce4a240453eb28f7d1d2fd837d8900d')
+
+build() {
+ cd $pkgname-$pkgver
+ export CGO_LDFLAGS="$LDFLAGS"
+ export GOFLAGS="-buildmode=pie -trimpath"
+ go build -o fzf .
+}
+
+check() {
+ cd $pkgname-$pkgver
+ go test ./...
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ ## Man page
+ install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
+
+ ## License
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/fzf/LICENSE
+
+ ## Binaries
+ install -dm755 "$pkgdir"/usr/bin
+ install -m755 fzf bin/fzf-tmux "$pkgdir"/usr/bin/
+
+ ## Completion and keybindings
+ install -dm755 "$pkgdir"/usr/share/fzf
+ install -m644 shell/*.bash shell/*.zsh "$pkgdir"/usr/share/fzf
+
+ ## Fish keybindings
+ install -Dm644 shell/key-bindings.fish "$pkgdir"/usr/share/fish/vendor_functions.d/fzf_key_bindings.fish
+
+ ## Vim plugin
+ install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
+}
+
More information about the arch-commits
mailing list