parent
02cebb6ff3
commit
1c6f819747
2 changed files with 18 additions and 3 deletions
11
srcpkgs/kbfs/INSTALL
Normal file
11
srcpkgs/kbfs/INSTALL
Normal file
|
@ -0,0 +1,11 @@
|
|||
ROOTMOUNT="/keybase"
|
||||
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
if ! mountpoint "$ROOTMOUNT" > /dev/null; then
|
||||
mkdir -p "$ROOTMOUNT"
|
||||
chown root:root "$ROOTMOUNT"
|
||||
chmod 755 "$ROOTMOUNT"
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'kbfs'.
|
||||
pkgname=kbfs
|
||||
version=2.5.0
|
||||
revision=2
|
||||
revision=3
|
||||
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_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"
|
||||
depends="keybase util-linux"
|
||||
short_desc="Keybase Filesystem"
|
||||
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||
license="BSD-3-Clause"
|
||||
|
@ -15,5 +15,9 @@ distfiles="https://github.com/keybase/kbfs/archive/v${version}.tar.gz"
|
|||
checksum=0f9f785dfa95f4b93a24d18dff4d6a0a8e637139873370eb3f2a8c8d67505dd4
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/redirector ${DESTDIR}/usr/bin/keybase-redirector
|
||||
# setuid
|
||||
chmod 4755 ${DESTDIR}/usr/bin/keybase-redirector
|
||||
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue