Date: Tuesday, February 13, 2018 @ 20:23:09
  Author: eschwartz
Revision: 293917

archrelease: copy trunk to community-x86_64

Added:
  keybase/repos/community-x86_64/PKGBUILD
    (from rev 293916, keybase/trunk/PKGBUILD)
Deleted:
  keybase/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   83 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 46 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-13 20:22:42 UTC (rev 293916)
+++ PKGBUILD    2018-02-13 20:23:09 UTC (rev 293917)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Michael Hansen <zrax0111 gmail com>
-
-pkgname=keybase
-pkgdesc='CLI tool for GPG with keybase.io'
-pkgver=1.0.41
-pkgrel=1
-arch=('x86_64')
-url='http://keybase.io/'
-license=('BSD')
-depends=('gnupg')
-makedepends=('go-pie' 'git' 'mercurial')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v$pkgver.tar.gz";)
-sha512sums=('1382f008089d8704167842960aec9e4007ac32db589bad45944428ad92ac90b1802338ff6ccc0c570d40b9c9115170a2e15c590f875cdc8261d203c01402385c')
-
-prepare() {
-  cd client-$pkgver
-
-  mkdir -p .gopath/src
-  mv go/vendor/* .gopath/src/
-  mkdir -p .gopath/src/github.com/keybase
-  ln -sf "$PWD" .gopath/src/github.com/keybase/client
-  export GOPATH="$PWD/.gopath"
-}
-
-build() {
-  cd client-$pkgver/go/keybase
-  # go build -a -tags production -gccgoflags "$CFLAGS $LDFLAGS" 
github.com/keybase/client/go/keybase
-  go build -a -tags production github.com/keybase/client/go/keybase
-}
-
-package() {
-  cd client-$pkgver
-  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 293916, 
keybase/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-13 20:23:09 UTC (rev 293917)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=keybase
+pkgdesc='CLI tool for GPG with keybase.io'
+pkgver=1.0.41
+pkgrel=2
+arch=('x86_64')
+url='https://keybase.io/'
+license=('BSD')
+depends=('gnupg')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v$pkgver.tar.gz";)
+sha512sums=('1382f008089d8704167842960aec9e4007ac32db589bad45944428ad92ac90b1802338ff6ccc0c570d40b9c9115170a2e15c590f875cdc8261d203c01402385c')
+
+
+prepare() {
+  cd client-$pkgver
+
+  export GOPATH="$srcdir/.gopath"
+  mkdir -p "$GOPATH"/src/github.com/keybase
+  ln -sf "$PWD" "$GOPATH"/src/github.com/keybase/client
+}
+
+build() {
+  cd client-$pkgver/go/keybase
+
+  export GOPATH="$srcdir/.gopath"
+  # go build -a -tags production -gccgoflags "$CFLAGS $LDFLAGS" 
github.com/keybase/client/go/keybase
+  go build -a -tags production -o ../bin/keybase 
github.com/keybase/client/go/keybase
+  go build -a -tags production -o ../bin/kbnm github.com/keybase/client/go/kbnm
+}
+
+package() {
+  cd client-$pkgver
+
+  install -Dm755 -t "$pkgdir"/usr/bin/ go/bin/*
+
+  # native messaging whitelists
+  KBNM_INSTALL_ROOT=1 KBNM_INSTALL_OVERLAY="$pkgdir" "$pkgdir/usr/bin/kbnm" 
install
+  # systemd activation
+  install -Dm755 packaging/linux/systemd/keybase.service 
"$pkgdir"/usr/lib/systemd/user/keybase.service
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to