[arch-commits] Commit in keybase/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Apr 16 03:58:50 UTC 2017


    Date: Sunday, April 16, 2017 @ 03:58:48
  Author: felixonmars
Revision: 223164

upgpkg: keybase 1.0.21-1

Modified:
  keybase/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-16 01:27:34 UTC (rev 223163)
+++ PKGBUILD	2017-04-16 03:58:48 UTC (rev 223164)
@@ -4,8 +4,7 @@
 
 pkgname=keybase
 pkgdesc='CLI tool for GPG with keybase.io'
-pkgver=1.0.20
-_realver=1.0.18
+pkgver=1.0.21
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://keybase.io/'
@@ -12,11 +11,11 @@
 license=('BSD')
 depends=('gnupg')
 makedepends=('go' 'git' 'mercurial')
-source=("git+https://github.com/keybase/client.git#tag=v$_realver")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v$pkgver.tar.gz")
+sha512sums=('60801ece5dc0df9f0da58143baf00729e1a79183d2b8209c405749f422dd8cecf7f4059e0799c88ca6e3f1e5a7ad8bd6805dd2401b0945954c6b1465c04974b5')
 
 prepare() {
-  cd client
+  cd client-$pkgver
 
   mkdir -p .gopath/src
   mv go/vendor/* .gopath/src/
@@ -26,13 +25,13 @@
 }
 
 build() {
-  cd client/go/keybase
+  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
+  cd client-$pkgver
   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