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

Eli Schwartz eschwartz at archlinux.org
Fri Feb 23 19:17:01 UTC 2018


    Date: Friday, February 23, 2018 @ 19:17:00
  Author: eschwartz
Revision: 297254

archrelease: copy trunk to community-x86_64

Added:
  kbfs/repos/community-x86_64/
  kbfs/repos/community-x86_64/PKGBUILD
    (from rev 297253, kbfs/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: kbfs/repos/community-x86_64/PKGBUILD (from rev 297253, kbfs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-02-23 19:17:00 UTC (rev 297254)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=kbfs
+pkgver=1.0.44
+pkgrel=1
+pkgdesc="The Keybase filesystem"
+arch=('x86_64')
+url="https://keybase.io/docs/kbfs"
+license=('BSD')
+depends=('fuse' 'keybase')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/keybase/kbfs/archive/v$pkgver.tar.gz")
+sha512sums=('03e92303f140dbff059f8c954142d6180f388c1e50c2f8af02a30a740d440d5f79be47ad851d021a2b90525bf7b775e471780438b94d1d6403eddbdc0bd41e8e')
+
+
+prepare() {
+  cd kbfs-$pkgver
+
+  export GOPATH="$srcdir/.gopath"
+  mkdir -p "$GOPATH"/src/github.com/keybase
+  ln -sf "$PWD" "$GOPATH"/src/github.com/keybase/kbfs
+}
+
+build() {
+  cd kbfs-$pkgver/kbfsfuse
+  # go build -a -tags production -gccgoflags "$CFLAGS $LDFLAGS" github.com/keybase/kbfs/kbfsfuse
+  export GOPATH="$srcdir/.gopath"
+  go build -a -tags production -o ../bin/kbfsfuse github.com/keybase/kbfs/kbfsfuse
+  go build -a -tags production -o ../bin/git-remote-keybase github.com/keybase/kbfs/kbfsgit/git-remote-keybase
+}
+
+package() {
+  cd kbfs-$pkgver/
+
+  install -Dm755 -t "${pkgdir}"/usr/bin/ bin/*
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm755 packaging/linux/systemd/kbfs.service "$pkgdir"/usr/lib/systemd/user/kbfs.service
+}



More information about the arch-commits mailing list