keybase: update to 4.5.0. add kbfs as subpackage

This commit is contained in:
Karl Nilsson 2019-09-19 23:39:47 -04:00 committed by Toyam Cox
parent 324aefe05e
commit deb206d7a4
4 changed files with 23 additions and 26 deletions

1
srcpkgs/kbfs Symbolic link
View file

@ -0,0 +1 @@
keybase

View file

@ -1,23 +0,0 @@
# Template file for 'kbfs'
pkgname=kbfs
version=2.11.0
revision=1
build_style=go
go_import_path="github.com/keybase/kbfs"
go_package="${go_import_path}/kbfsfuse ${go_import_path}/kbfsgit/git-remote-keybase ${go_import_path}/kbfstool ${go_import_path}/redirector"
go_build_tags="production"
depends="keybase util-linux"
short_desc="Keybase Filesystem"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://keybase.io/docs/kbfs"
distfiles="https://github.com/keybase/kbfs/archive/v${version}.tar.gz"
checksum=0e97cab1c90592035ec6763e22c78c08a95dd3467419d15b9e45b3d0887b594d
post_install() {
mv ${DESTDIR}/usr/bin/redirector ${DESTDIR}/usr/bin/keybase-redirector
# setuid
chmod 4755 ${DESTDIR}/usr/bin/keybase-redirector
vlicense LICENSE
}

View file

@ -1,20 +1,39 @@
# Template file for 'keybase'
pkgname=keybase
version=4.4.2
version=4.5.0
revision=1
wrksrc="client-${version}"
build_style=go
go_import_path="github.com/keybase/client"
go_package="${go_import_path}/go/keybase"
go_package="${go_import_path}/go/keybase
${go_import_path}/go/kbfs/kbfsfuse
${go_import_path}/go/kbfs/kbfsgit/git-remote-keybase
${go_import_path}/go/kbfs/kbfstool ${go_import_path}/go/kbfs/redirector"
go_build_tags="production"
hostmakedepends="git"
depends="gnupg2"
short_desc="Client for keybase.io"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://keybase.io/"
distfiles="https://github.com/keybase/client/archive/v${version}.tar.gz"
checksum=9d19f684d1e375605449f7c37aaecea6518d095ee54837386281c538ebac61f1
checksum=c74a909b53a3d62c2d71a7209e74c3f5721782a007eba8e48ddd80121343a8da
post_install() {
vlicense LICENSE
}
kbfs_package() {
depends="keybase fuse"
short_desc="Keybase Filesystem"
pkg_install() {
vmove usr/bin/redirector
mv ${PKGDESTDIR}/usr/bin/redirector ${PKGDESTDIR}/usr/bin/keybase-redirector
# setuid
chmod 4755 ${PKGDESTDIR}/usr/bin/keybase-redirector
vmove usr/bin/kbfsfuse
vmove usr/bin/kbfstool
vmove usr/bin/git-remote-keybase
}
}