[arch-commits] Commit in fzf/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Apr 4 14:41:54 UTC 2020


    Date: Saturday, April 4, 2020 @ 14:41:54
  Author: foxboron
Revision: 611630

upgpkg: fzf 0.21.1-1

Modified:
  fzf/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 14:41:46 UTC (rev 611629)
+++ PKGBUILD	2020-04-04 14:41:54 UTC (rev 611630)
@@ -8,10 +8,7 @@
 # Contributor: jebaum <jebaum at ucla dot edu>
 
 pkgname=fzf
-pkgver=0.21.0.1
-# Remove after next release
-_pkgver="${pkgver%.*}"
-_patch="${pkgver##*.}"
+pkgver=0.21.1
 pkgrel=1
 pkgdesc='Command-line fuzzy finder'
 arch=('x86_64')
@@ -23,11 +20,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-$_patch.tar.gz")
-sha512sums=('4cdbeba23ae2434e090504321ba3e475a59a541c60d14132ce43c001deffa03e5ff47029dd7dea9651a0da0b8d2d155095a14d3e16d3125b23f4a8887c3ce828')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('db816446a2d562148f7bfe4fc99696e0786d4acfe021ba9bf31344c81219b8a61cae03ec7d4b279ab3dba9ca93fc883e655fc71a750fb6f1905612db071ac831')
 
 build() {
-	cd $pkgname-$_pkgver-$_patch
+	cd $pkgname-$pkgver
 	export CGO_LDFLAGS="$LDFLAGS"
 	export GOFLAGS="-buildmode=pie -trimpath"
 	go build -o fzf .
@@ -34,12 +31,12 @@
 }
 
 check() {
-	cd $pkgname-$_pkgver-$_patch
+	cd $pkgname-$pkgver
 	go test ./...
 }
 
 package() {
-	cd $pkgname-$_pkgver-$_patch
+	cd $pkgname-$pkgver
 
 	## Man page
 	install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1



More information about the arch-commits mailing list