[arch-commits] Commit in fzf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Thu Nov 4 19:43:21 UTC 2021
Date: Thursday, November 4, 2021 @ 19:43:21
Author: foxboron
Revision: 1036979
archrelease: copy trunk to community-x86_64
Added:
fzf/repos/community-x86_64/PKGBUILD
(from rev 1036978, fzf/trunk/PKGBUILD)
Deleted:
fzf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 156 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-04 19:43:14 UTC (rev 1036978)
+++ PKGBUILD 2021-11-04 19:43:21 UTC (rev 1036979)
@@ -1,78 +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.27.3
-pkgrel=1
-pkgdesc='Command-line fuzzy finder'
-arch=('x86_64')
-url='https://github.com/junegunn/fzf'
-license=('MIT')
-depends=('bash')
-makedepends=('git' 'go')
-optdepends=('fish: fish keybindings'
- 'tmux: fzf-tmux script for launching fzf in a tmux pane'
- 'vim: plugin'
- 'zsh: zsh keybindings')
-source=("git+https://github.com/junegunn/fzf.git#tag=${pkgver}?signed")
-validpgpkeys=('B5FB4AB5F32EC1A0C9DE9637254BC280FEF9C627')
-sha512sums=('SKIP')
-
-prepare() {
- cd "${pkgname}"
- sed -i 's/-w /-w -linkmode external /' Makefile
-}
-
-build() {
- cd "${pkgname}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- make
-}
-
-check() {
- cd "${pkgname}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- go test ./...
-}
-
-package() {
- cd "${pkgname}"
-
- ## Man page
- install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
- install -Dm644 man/man1/fzf-tmux.1 "$pkgdir"/usr/share/man/man1/fzf-tmux.1
-
- ## License
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/fzf/LICENSE
-
- ## Binaries
- install -dm755 "$pkgdir"/usr/bin
- install -m755 bin/fzf-tmux "$pkgdir"/usr/bin/
- install -Dm755 target/fzf-linux_amd64 "$pkgdir"/usr/bin/fzf
-
- ## 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 doc/fzf.txt "$pkgdir"/usr/share/vim/vimfiles/doc/fzf.txt
- install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
-}
-
Copied: fzf/repos/community-x86_64/PKGBUILD (from rev 1036978, fzf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-04 19:43:21 UTC (rev 1036979)
@@ -0,0 +1,78 @@
+# 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.28.0
+pkgrel=1
+pkgdesc='Command-line fuzzy finder'
+arch=('x86_64')
+url='https://github.com/junegunn/fzf'
+license=('MIT')
+depends=('bash')
+makedepends=('git' 'go')
+optdepends=('fish: fish keybindings'
+ 'tmux: fzf-tmux script for launching fzf in a tmux pane'
+ 'vim: plugin'
+ 'zsh: zsh keybindings')
+source=("git+https://github.com/junegunn/fzf.git#tag=${pkgver}?signed")
+validpgpkeys=('B5FB4AB5F32EC1A0C9DE9637254BC280FEF9C627')
+sha512sums=('SKIP')
+
+prepare() {
+ cd "${pkgname}"
+ sed -i 's/-w /-w -linkmode external /' Makefile
+}
+
+build() {
+ cd "${pkgname}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ make
+}
+
+check() {
+ cd "${pkgname}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go test ./...
+}
+
+package() {
+ cd "${pkgname}"
+
+ ## Man page
+ install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
+ install -Dm644 man/man1/fzf-tmux.1 "$pkgdir"/usr/share/man/man1/fzf-tmux.1
+
+ ## License
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/fzf/LICENSE
+
+ ## Binaries
+ install -dm755 "$pkgdir"/usr/bin
+ install -m755 bin/fzf-tmux "$pkgdir"/usr/bin/
+ install -Dm755 target/fzf-linux_amd64 "$pkgdir"/usr/bin/fzf
+
+ ## 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 doc/fzf.txt "$pkgdir"/usr/share/vim/vimfiles/doc/fzf.txt
+ install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim
+}
+
More information about the arch-commits
mailing list