void-packages/srcpkgs/kbfs/template

24 lines
778 B
Bash

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