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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Apr 27 14:58:04 UTC 2022


    Date: Wednesday, April 27, 2022 @ 14:58:03
  Author: jelle
Revision: 1191178

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 14:57:58 UTC (rev 1191177)
+++ PKGBUILD	2022-04-27 14:58:03 UTC (rev 1191178)
@@ -1,35 +0,0 @@
-# Maintainer: christian rebischke <chris.rebischke at archlinux.org>
-
-pkgname=gopass-jsonapi
-pkgver=1.11.1
-pkgrel=1
-pkgdesc="jsonapi for gopass used for bridging to browsers"
-arch=('x86_64')
-url="https://github.com/gopasspw/gopass-jsonapi"
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass-jsonapi/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('231585e4e6de51a7f98218d80cc805d71e4b61e5ec1eff7dfeab8ed2cc2a031ee21c58f2cf9e5e081dc24e7b90ffe7bd59ac7522fee1a3eeff187534c7eb0cc1')
-
-prepare(){
-  cd ${pkgname}-${pkgver}
-  sed -i 's|-gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"||' Makefile
-  sed -i 's/install-completion//g' 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"
-}

Copied: gopass-jsonapi/repos/community-x86_64/PKGBUILD (from rev 1191177, gopass-jsonapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-27 14:58:03 UTC (rev 1191178)
@@ -0,0 +1,36 @@
+# Maintainer: christian rebischke <chris.rebischke at archlinux.org>
+
+pkgname=gopass-jsonapi
+pkgver=1.11.1
+pkgrel=2
+pkgdesc="jsonapi for gopass used for bridging to browsers"
+arch=('x86_64')
+url="https://github.com/gopasspw/gopass-jsonapi"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+options=('!lto')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/gopasspw/gopass-jsonapi/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('231585e4e6de51a7f98218d80cc805d71e4b61e5ec1eff7dfeab8ed2cc2a031ee21c58f2cf9e5e081dc24e7b90ffe7bd59ac7522fee1a3eeff187534c7eb0cc1')
+
+prepare(){
+  cd ${pkgname}-${pkgver}
+  sed -i 's|-gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"||' Makefile
+  sed -i 's/install-completion//g' 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