void-packages/srcpkgs/kbfs/template
2019-01-22 12:15:49 -05:00

23 lines
779 B
Bash

# 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
}