void-packages/srcpkgs/gocryptfs/template

23 lines
815 B
Bash

# Template file for 'gocryptfs'
pkgname=gocryptfs
version=2.4.0
revision=2
build_style=go
go_import_path="github.com/rfjakob/gocryptfs/v2"
go_ldflags="-X main.GitVersion=v${version} -X main.GitVersionFuse="[vendored]" -X main.BuildDate=$(date +%Y-%m-%d)"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
depends="fuse3"
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/gocryptfs/releases/download/v${version}/gocryptfs_v${version}_src-deps.tar.gz"
checksum=45158daf20df7f94e0c9ec57ba07af21df2e25e15b8584bf3c7de96adbbc2efd
post_install() {
vlicense LICENSE
vman Documentation/gocryptfs.1
}