void-packages/srcpkgs/gocryptfs/template
2021-10-08 10:19:34 -03:00

22 lines
832 B
Bash

# Template file for 'gocryptfs'
pkgname=gocryptfs
version=2.2.0
revision=1
wrksrc="${pkgname}_v${version}_src-deps"
build_style=go
go_import_path="github.com/rfjakob/gocryptfs/v2"
go_build_tags="without_openssl"
go_ldflags="-X main.GitVersion=v${version} -X main.GitVersionFuse="[vendored]" -X main.BuildDate=$(date +%Y-%m-%d)"
depends="fuse"
short_desc="Encrypted overlay filesystem written in Go"
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
license="MIT"
homepage="https://nuetzlich.net/gocryptfs"
changelog="https://github.com/rfjakob/gocryptfs#changelog"
distfiles="https://github.com/rfjakob/${pkgname}/releases/download/v${version}/${pkgname}_v${version}_src-deps.tar.gz"
checksum=555e8fba2bc5ed87ad52fc9b7a5525ed0fd01b0a34dfd23cb3ecfae6de75edcd
post_install() {
vlicense LICENSE
vman Documentation/gocryptfs.1
}