[arch-commits] Commit in gopass/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Mon Jul 13 14:38:19 UTC 2020


    Date: Monday, July 13, 2020 @ 14:38:19
  Author: foxboron
Revision: 663412

archrelease: copy trunk to community-x86_64

Added:
  gopass/repos/community-x86_64/PKGBUILD
    (from rev 663411, gopass/trunk/PKGBUILD)
Deleted:
  gopass/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-13 14:38:13 UTC (rev 663411)
+++ PKGBUILD	2020-07-13 14:38:19 UTC (rev 663412)
@@ -1,33 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=gopass
-pkgver=1.9.2
-pkgrel=2
-pkgdesc="The slightly more awesome standard unix password manager for teams."
-arch=('x86_64')
-url="https://github.com/gopasspw/gopass"
-license=('MIT')
-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=('90be234718c4c26ee6e92565ce609d5f075d5e574827e15ff57a6d9e71f1933add7d76aa26b39602d5a72485890bfe8e158dc89213098377899d0f721aacf1d7')
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  export GOPATH="${srcdir}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  make build
-  make completion
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" PREFIX="/usr" install
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: gopass/repos/community-x86_64/PKGBUILD (from rev 663411, gopass/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-13 14:38:19 UTC (rev 663412)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=gopass
+pkgver=1.9.2
+pkgrel=3
+pkgdesc="The slightly more awesome standard unix password manager for teams."
+arch=('x86_64')
+url="https://github.com/gopasspw/gopass"
+license=('MIT')
+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=('90be234718c4c26ee6e92565ce609d5f075d5e574827e15ff57a6d9e71f1933add7d76aa26b39602d5a72485890bfe8e158dc89213098377899d0f721aacf1d7')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  sed -i 's|-gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"||' Makefile
+}
+
+build(){
+  cd "${pkgname}-${pkgver}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  make 
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list