# Template file for 'Gokapi' pkgname=Gokapi version=1.9.2 revision=1 build_style=go make_check_args="--tags=test,noaws" go_import_path=github.com/forceu/gokapi go_package="${go_import_path}/cmd/gokapi" short_desc="Lightweight, self-hosted Firefox Send alternative" maintainer="Andrew J. Hesford " license="AGPL-3.0-only" homepage="https://github.com/Forceu/Gokapi" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=3087eafd161584365e5500bfcf7add89033d96ec40467c4fc2d524489317ae5d system_accounts="_gokapi" _gokapi_homedir="/var/lib/gokapi" make_dirs="/var/lib/gokapi 700 _gokapi _gokapi" pre_build() { env -i GOPATH="${GOPATH}" GOCACHE="${GOCACHE}" GOPROXY="${GOPROXY}" \ go generate ./... } post_install() { vlicense LICENSE.md vsv gokapi }