40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'keybase'
|
|
pkgname=keybase
|
|
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_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=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
|
|
}
|
|
}
|