void-packages/srcpkgs/kbfs/template

24 lines
779 B
Bash

# Template file for 'kbfs'.
pkgname=kbfs
version=2.10.1
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.eu>"
license="BSD-3-Clause"
homepage="https://keybase.io/docs/kbfs"
distfiles="https://github.com/keybase/kbfs/archive/v${version}.tar.gz"
checksum=9ad8e86378ad6b70909754d401d8ecacc128092ff687b7a56f5f1ecd5c8cb432
post_install() {
mv ${DESTDIR}/usr/bin/redirector ${DESTDIR}/usr/bin/keybase-redirector
# setuid
chmod 4755 ${DESTDIR}/usr/bin/keybase-redirector
vlicense LICENSE
}