[arch-commits] Commit in fzf/trunk (PKGBUILD junegunn.pgp)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sat May 28 12:30:37 UTC 2022
Date: Saturday, May 28, 2022 @ 12:30:36
Author: kpcyrd
Revision: 1211163
upgpkg: fzf 0.30.0-3 - cryptographically pin sourcecode
Added:
fzf/trunk/junegunn.pgp
Modified:
fzf/trunk/PKGBUILD
--------------+
PKGBUILD | 23 +++++++++++++----------
junegunn.pgp | 1 +
2 files changed, 14 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-28 12:30:32 UTC (rev 1211162)
+++ PKGBUILD 2022-05-28 12:30:36 UTC (rev 1211163)
@@ -9,38 +9,41 @@
pkgname=fzf
pkgver=0.30.0
-pkgrel=2
+pkgrel=3
pkgdesc='Command-line fuzzy finder'
arch=('x86_64')
url='https://github.com/junegunn/fzf'
license=('MIT')
depends=('bash')
-makedepends=('git' 'go')
+makedepends=('auth-tarball-from-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')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/junegunn/fzf/archive/refs/tags/${pkgver}.tar.gz
+ junegunn.pgp)
+sha512sums=('cebb685a7fa00bdff07751d0021edde82f0ff3bf705eff82f94f6bf57c5e008eb6894d023ed7b14378f1d92fa2394192c12b720c6f711b1a414438fe3f8b4ec3'
+ '83a14444802e64a0de90599ca7d4fb1ea4575dbadf56eb042ce69e1b3f52e6821f9914d34d85346ee9e21fbf69e2fee5bc5c6ea783b52fdfb90d72b14b37f40b')
prepare() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
sed -i 's/-w /-w -linkmode external /' Makefile
+ auth-tarball-from-git --keyring ../junegunn.pgp \
+ --tag "${pkgver}" "${url}" "../${pkgname}-${pkgver}.tar.gz"
}
build() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
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
+ FZF_VERSION="${pkgver}" FZF_REVISION=tarball make
}
check() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -50,7 +53,7 @@
}
package() {
- cd "${pkgname}"
+ cd "${pkgname}-${pkgver}"
## Man page
install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1
Added: junegunn.pgp
===================================================================
(Binary files differ)
Index: fzf/trunk/junegunn.pgp
===================================================================
--- junegunn.pgp 2022-05-28 12:30:32 UTC (rev 1211162)
+++ junegunn.pgp 2022-05-28 12:30:36 UTC (rev 1211163)
Property changes on: fzf/trunk/junegunn.pgp
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
More information about the arch-commits
mailing list