[arch-commits] Commit in fzf/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri Mar 13 21:29:59 UTC 2020
Date: Friday, March 13, 2020 @ 21:29:59
Author: foxboron
Revision: 596311
upgpkg: fzf 0.21.0.1-1
Remove patch version after next release
Modified:
fzf/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-13 18:40:55 UTC (rev 596310)
+++ PKGBUILD 2020-03-13 21:29:59 UTC (rev 596311)
@@ -8,7 +8,10 @@
# Contributor: jebaum <jebaum at ucla dot edu>
pkgname=fzf
-pkgver=0.21.0
+pkgver=0.21.0.1
+# Remove after next release
+_pkgver="${pkgver%.*}"
+_patch="${pkgver##*.}"
pkgrel=1
pkgdesc='Command-line fuzzy finder'
arch=('x86_64')
@@ -20,11 +23,11 @@
'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')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$_pkgver-$_patch.tar.gz")
+sha512sums=('4cdbeba23ae2434e090504321ba3e475a59a541c60d14132ce43c001deffa03e5ff47029dd7dea9651a0da0b8d2d155095a14d3e16d3125b23f4a8887c3ce828')
build() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_pkgver-$_patch
export CGO_LDFLAGS="$LDFLAGS"
export GOFLAGS="-buildmode=pie -trimpath"
go build -o fzf .
@@ -31,12 +34,12 @@
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_pkgver-$_patch
go test ./...
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_pkgver-$_patch
## Man page
install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
More information about the arch-commits
mailing list