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

Morten Linderud foxboron at archlinux.org
Sat May 2 12:12:12 UTC 2020


    Date: Saturday, May 2, 2020 @ 12:12:11
  Author: foxboron
Revision: 624353

upgpkg: gopass 1.9.0-1

Modified:
  gopass/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-02 10:58:15 UTC (rev 624352)
+++ PKGBUILD	2020-05-02 12:12:11 UTC (rev 624353)
@@ -1,29 +1,24 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 pkgname=gopass
-pkgver=1.8.6
-pkgrel=4
+pkgver=1.9.0
+pkgrel=1
 pkgdesc="The slightly more awesome standard unix password manager for teams."
 arch=('x86_64')
 url="https://github.com/gopasspw/gopass"
 license=('MIT')
-makedepends=('go-pie')
+makedepends=('go')
 optdepends=('xdotool: for typing passwords selected by dmenu'
             'xsel: clipboard support'
             'xclip: clipboard support')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass/archive/v${pkgver}.tar.gz")
-sha512sums=('7acdb095cf8913954044c3206eab020f197542334798c6b94724709c3953b12f7e5b73ce8c1aa4bfd5df3acf1f424b64bfa94f9a8f68fa7116ed14c8a0f2e6f0')
+sha512sums=('5f0dbc42bcdbb5acdb36806b24cc607115eb403e3ca5268818590dccf23e62f5337e570b77c5fadd42e9b508fb419b51603a6cb6bb4abe6d9fa334c9710d61ca')
 
-prepare(){
-  export GOPATH="${srcdir}"
-  mkdir -p src
-  mv "${pkgname}-${pkgver}"/vendor/* src/
-  mkdir -p src/github.com/gopasspw
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/gopasspw/gopass
-}
-
 build(){
   cd "${pkgname}-${pkgver}"
   export GOPATH="${srcdir}"
+  export GOFLAGS="-buildmode=pie -trimpath"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
   make build
   make completion
 }


More information about the arch-commits mailing list