[arch-commits] Commit in gopass/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Mon Aug 24 16:33:54 UTC 2020
Date: Monday, August 24, 2020 @ 16:33:54
Author: foxboron
Revision: 687623
archrelease: copy trunk to community-x86_64
Added:
gopass/repos/community-x86_64/PKGBUILD
(from rev 687622, gopass/trunk/PKGBUILD)
Deleted:
gopass/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 33 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-24 16:33:46 UTC (rev 687622)
+++ PKGBUILD 2020-08-24 16:33:54 UTC (rev 687623)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=gopass
-pkgver=1.10.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')
-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=('29fed41b61095c131ffb4d4ebd7822693cef170bee1fa21f504e2bd2f70c305db036b7fda12b17f0bcd7bd4cda099051db26464a00352a445f09de650cdfcbf5')
-
-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"
-}
Copied: gopass/repos/community-x86_64/PKGBUILD (from rev 687622, gopass/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-24 16:33:54 UTC (rev 687623)
@@ -0,0 +1,33 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=gopass
+pkgver=1.10.0
+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=("https://github.com/gopasspw/gopass/releases/download/v${pkgver}/gopass-${pkgver}.tar.gz")
+sha512sums=('36ac3ffb4855a3e2f6ed292e1e37ab3d8c25284948f95d7acef312bc7db864c776115f4231b0485c3926f9990de131c62da9d13bdd91a8525e22dd42ffae0e39')
+
+prepare(){
+ sed -i 's|-gcflags="-trimpath=$(GOPATH)" -asmflags="-trimpath=$(GOPATH)"||' Makefile
+}
+
+build(){
+ 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() {
+ make DESTDIR="${pkgdir}" PREFIX="/usr" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list