summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2018-10-31 04:15:25 -0600
committerNicolas Bock <nicolasbock@gentoo.org>2018-10-31 04:22:38 -0600
commit13f1d34470799fac09a662c86150fd7f608200c4 (patch)
tree4b275763f046d9aa7e9d8e1e314619b138714159 /app-crypt/kbfs/kbfs-2.8.0.ebuild
parentmedia-libs/harfbuzz: Removed old. (diff)
downloadgentoo-13f1d34470799fac09a662c86150fd7f608200c4.tar.gz
gentoo-13f1d34470799fac09a662c86150fd7f608200c4.tar.bz2
gentoo-13f1d34470799fac09a662c86150fd7f608200c4.zip
app-crypt/kbfs: Version bump to 2.8.0
Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
Diffstat (limited to 'app-crypt/kbfs/kbfs-2.8.0.ebuild')
-rw-r--r--app-crypt/kbfs/kbfs-2.8.0.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/kbfs/kbfs-2.8.0.ebuild b/app-crypt/kbfs/kbfs-2.8.0.ebuild
new file mode 100644
index 000000000000..f6dfded5dc62
--- /dev/null
+++ b/app-crypt/kbfs/kbfs-2.8.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-build systemd
+
+DESCRIPTION="Keybase Filesystem (KBFS)"
+HOMEPAGE="https://keybase.io/docs/kbfs"
+SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ app-crypt/gnupg
+ sys-fs/fuse
+ "
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ mkdir -vp "${S}/src/github.com/keybase" || die
+ ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die
+}
+
+src_compile() {
+ EGO_PN="github.com/keybase/kbfs/kbfsfuse" \
+ EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \
+ golang-build_src_compile
+ EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \
+ EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \
+ golang-build_src_compile
+ EGO_PN="github.com/keybase/kbfs/redirector" \
+ EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \
+ golang-build_src_compile
+}
+
+src_test() {
+ EGO_PN="github.com/keybase/kbfs/kbfsfuse" \
+ golang-build_src_test
+}
+
+src_install() {
+ dobin "${T}/kbfsfuse"
+ dobin "${T}/git-remote-keybase"
+ dobin "${T}/keybase-redirector"
+ systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service"
+}