Skip to content

Commit

Permalink
app-crypt/kbfs: build the Git remote helper, #633554
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
creideiki authored and nicolasbock committed Oct 23, 2017
1 parent 3cadedd commit 5b78f8a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app-crypt/kbfs/kbfs-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/keybase/kbfs.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
IUSE="git"

DEPEND="
>=dev-lang/go-1.6:0
Expand All @@ -37,8 +37,16 @@ src_compile() {
-tags production \
-o "${T}/kbfsfuse" \
github.com/keybase/kbfs/kbfsfuse
use git && \
GOPATH="${WORKDIR}" \
go build -v -x \
-tags production \
-o "${T}/git-remote-keybase" \
github.com/keybase/kbfs/kbfsgit/git-remote-keybase
}

src_install() {
dobin "${T}/kbfsfuse"
use git && \
dobin "${T}/git-remote-keybase"
}
5 changes: 5 additions & 0 deletions app-crypt/kbfs/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@
The official Keybase implementation of the client-side code for the
Keybase filesystem (KBFS).
</longdescription>
<use>
<flag name="git">
Build the Git remote helper for storing repositories in Keybase
</flag>
</use>
</pkgmetadata>

0 comments on commit 5b78f8a

Please sign in to comment.