[arch-commits] Commit in gopass/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Apr 21 20:32:52 UTC 2018
Date: Saturday, April 21, 2018 @ 20:32:51
Author: foxboron
Revision: 317262
archrelease: copy trunk to community-x86_64
Added:
gopass/repos/community-x86_64/PKGBUILD
(from rev 317261, gopass/trunk/PKGBUILD)
Deleted:
gopass/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 39 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-21 20:30:50 UTC (rev 317261)
+++ PKGBUILD 2018-04-21 20:32:51 UTC (rev 317262)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-pkgname=gopass
-pkgver=1.6.10
-pkgrel=1
-pkgdesc="The slightly more awesome standard unix password manager for teams."
-arch=('x86_64')
-url="https://github.com/justwatchcom/gopass"
-license=('MIT')
-depends=('gnupg' 'git')
-makedepends=('go-pie')
-optdepends=('xdotool: for typing passwords selected by dmenu'
- 'xsel: clipboard support'
- 'xclip: clipboard support')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/justwatchcom/gopass/archive/v${pkgver}.tar.gz")
-sha256sums=('cd007c52df5f46a24c1af1bea44ee892d59a47f144dd09ac70e42fcda0ef3db5')
-
-prepare(){
- export GOPATH="${srcdir}"
- mkdir -p src
- mv "${pkgname}-${pkgver}"/vendor/* src/
- mkdir -p src/github.com/justwatchcom
- ln -rTsf "${pkgname}-${pkgver}" src/github.com/justwatchcom/gopass
-}
-
-build(){
- cd "${pkgname}-${pkgver}"
- export GOPATH="${srcdir}"
- 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 317261, gopass/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-21 20:32:51 UTC (rev 317262)
@@ -0,0 +1,39 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+pkgname=gopass
+pkgver=1.6.11
+pkgrel=1
+pkgdesc="The slightly more awesome standard unix password manager for teams."
+arch=('x86_64')
+url="https://github.com/justwatchcom/gopass"
+license=('MIT')
+depends=('gnupg' 'git')
+options=(!strip debug)
+makedepends=('go-pie')
+optdepends=('xdotool: for typing passwords selected by dmenu'
+ 'xsel: clipboard support'
+ 'xclip: clipboard support')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/justwatchcom/gopass/archive/v${pkgver}.tar.gz")
+sha256sums=('2199532b6a5f51960e6b3412ea196efb5e2d187b7cb436ecbbcff1a0ec4f9fc1')
+
+prepare(){
+ export GOPATH="${srcdir}"
+ mkdir -p src
+ mv "${pkgname}-${pkgver}"/vendor/* src/
+ mkdir -p src/github.com/justwatchcom
+ ln -rTsf "${pkgname}-${pkgver}" src/github.com/justwatchcom/gopass
+ cd "${pkgname}-${pkgver}"
+ sed -i -e "s/-extldflags '-static'//g" Makefile
+}
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ export GOPATH="${srcdir}"
+ make GO="go" build
+ make completion
+}
+
+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