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

Morten Linderud foxboron at archlinux.org
Fri Aug 3 20:34:07 UTC 2018


    Date: Friday, August 3, 2018 @ 20:34:07
  Author: foxboron
Revision: 367632

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 39 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-03 20:33:06 UTC (rev 367631)
+++ PKGBUILD	2018-08-03 20:34:07 UTC (rev 367632)
@@ -1,35 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-pkgname=gopass
-pkgver=1.8.2
-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')
-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")
-sha256sums=('6dc423448c0672fd5087ab75e4c3d8584fb75c93789c9fd68bf14576ab46d1ed')
-
-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}"
-  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 367631, gopass/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-03 20:34:07 UTC (rev 367632)
@@ -0,0 +1,39 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+pkgname=gopass
+pkgver=1.8.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-pie')
+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")
+sha256sums=('6dc423448c0672fd5087ab75e4c3d8584fb75c93789c9fd68bf14576ab46d1ed')
+
+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
+
+  # Fix version for build
+  cd "${pkgname}-${pkgver}"
+  echo $pkgver > VERSION
+}
+
+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"
+}



More information about the arch-commits mailing list