[arch-commits] Commit in kbfs/repos (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Nov 29 23:10:51 UTC 2018


    Date: Thursday, November 29, 2018 @ 23:10:50
  Author: eschwartz
Revision: 410581

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: kbfs/repos/community-testing-x86_64/PKGBUILD (from rev 410580, kbfs/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-11-29 23:10:50 UTC (rev 410581)
@@ -0,0 +1,38 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=kbfs
+pkgver=2.10.1
+pkgrel=1
+pkgdesc="The Keybase filesystem"
+arch=('x86_64')
+url="https://keybase.io/docs/kbfs"
+license=('BSD')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/keybase/kbfs/archive/v$pkgver.tar.gz")
+sha512sums=('66b07a07c4b4734465d8ea8eccf3b1d05c0c3ba8792161ed3fd8ed9eaccb43d51cf5ef44c8c44fca4a22ab2b360093f1801d9eb77904d2aa917d0a76026fffa9')
+
+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
+  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() {
+  depends=('fuse' 'keybase')
+  cd kbfs-$pkgver/
+
+  install -Dm755 -t "${pkgdir}"/usr/bin/ bin/*
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 packaging/linux/systemd/kbfs.service "$pkgdir"/usr/lib/systemd/user/kbfs.service
+}



More information about the arch-commits mailing list