39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'keybase'
|
|
pkgname=keybase
|
|
version=6.4.0
|
|
revision=1
|
|
build_style=go
|
|
build_wrksrc=go
|
|
go_import_path="github.com/keybase/client/go"
|
|
go_package="${go_import_path}/keybase
|
|
${go_import_path}/kbfs/kbfsfuse
|
|
${go_import_path}/kbfs/kbfsgit/git-remote-keybase
|
|
${go_import_path}/kbfs/kbfstool ${go_import_path}/kbfs/redirector"
|
|
go_build_tags="production"
|
|
depends="gnupg>=2"
|
|
short_desc="Client for keybase.io"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://keybase.io/"
|
|
distfiles="https://github.com/keybase/client/releases/download/v$version/keybase-v$version.tar.xz"
|
|
checksum=506916263f71a3ac8385228b3855d6ddb3f3168574179a0b10ab9867d18b0e3d
|
|
|
|
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
|
|
}
|
|
}
|