[arch-commits] Commit in keybase/repos (4 files)

Felix Yan fyan at archlinux.org
Mon Jan 4 05:51:21 UTC 2016


    Date: Monday, January 4, 2016 @ 06:51:21
  Author: fyan
Revision: 155249

archrelease: copy trunk to community-i686, community-x86_64

Added:
  keybase/repos/community-i686/
  keybase/repos/community-i686/PKGBUILD
    (from rev 155248, keybase/trunk/PKGBUILD)
  keybase/repos/community-x86_64/
  keybase/repos/community-x86_64/PKGBUILD
    (from rev 155248, keybase/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: keybase/repos/community-i686/PKGBUILD (from rev 155248, keybase/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-04 05:51:21 UTC (rev 155249)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=keybase
+pkgdesc='CLI tool for GPG with keybase.io'
+pkgver=1.0.7.0
+_realver=1.0.7-0
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://keybase.io/'
+license=('BSD')
+depends=('gnupg')
+makedepends=('go' 'git' 'mercurial')
+source=("git+https://github.com/keybase/client.git#tag=v$_realver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd client
+  mkdir -p .gopath/src/github.com/keybase
+  ln -sf "$PWD" .gopath/src/github.com/keybase/client
+  export GOPATH="$PWD/.gopath"
+
+  go get github.com/keybase/client/go/keybase
+}
+
+build() {
+  cd client/go/keybase
+  go build -a -tags production  # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd client
+  install -Dm755 go/keybase/keybase "$pkgdir"/usr/bin/keybase
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: keybase/repos/community-x86_64/PKGBUILD (from rev 155248, keybase/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-04 05:51:21 UTC (rev 155249)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=keybase
+pkgdesc='CLI tool for GPG with keybase.io'
+pkgver=1.0.7.0
+_realver=1.0.7-0
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://keybase.io/'
+license=('BSD')
+depends=('gnupg')
+makedepends=('go' 'git' 'mercurial')
+source=("git+https://github.com/keybase/client.git#tag=v$_realver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd client
+  mkdir -p .gopath/src/github.com/keybase
+  ln -sf "$PWD" .gopath/src/github.com/keybase/client
+  export GOPATH="$PWD/.gopath"
+
+  go get github.com/keybase/client/go/keybase
+}
+
+build() {
+  cd client/go/keybase
+  go build -a -tags production  # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd client
+  install -Dm755 go/keybase/keybase "$pkgdir"/usr/bin/keybase
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list