Date: Saturday, May 28, 2022 @ 13:52:08
  Author: kpcyrd
Revision: 1211383

Revert previous change on request by pkg maintainer

Modified:
  fzf/trunk/PKGBUILD
Deleted:
  fzf/trunk/junegunn.pgp

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-05-28 13:52:08 UTC (rev 1211382)
+++ PKGBUILD    2022-05-28 13:52:08 UTC (rev 1211383)
@@ -15,35 +15,32 @@
 url='https://github.com/junegunn/fzf'
 license=('MIT')
 depends=('bash')
-makedepends=('auth-tarball-from-git' 'go')
+makedepends=('git' 'go')
 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::https://github.com/junegunn/fzf/archive/refs/tags/${pkgver}.tar.gz
-        junegunn.pgp)
-sha512sums=('cebb685a7fa00bdff07751d0021edde82f0ff3bf705eff82f94f6bf57c5e008eb6894d023ed7b14378f1d92fa2394192c12b720c6f711b1a414438fe3f8b4ec3'
-            
'83a14444802e64a0de90599ca7d4fb1ea4575dbadf56eb042ce69e1b3f52e6821f9914d34d85346ee9e21fbf69e2fee5bc5c6ea783b52fdfb90d72b14b37f40b')
+source=("git+https://github.com/junegunn/fzf.git#tag=${pkgver}?signed";)
+validpgpkeys=('B5FB4AB5F32EC1A0C9DE9637254BC280FEF9C627')
+sha512sums=('SKIP')
 
 prepare() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        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}-${pkgver}"
+       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"
-       FZF_VERSION="${pkgver}" FZF_REVISION=tarball make
+       make
 }
 
 check() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        export CGO_LDFLAGS="${LDFLAGS}"
        export CGO_CFLAGS="${CFLAGS}"
        export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -53,7 +50,7 @@
 }
 
 package() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
 
        ## Man page
        install -Dm644 man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1

Deleted: junegunn.pgp
===================================================================
(Binary files differ)

Reply via email to