Package-Manager: Portage-2.3.11, Repoman-2.3.3
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="git"
DEPEND="
>=dev-lang/go-1.6:0
-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"
}
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>