void-packages/srcpkgs/gocryptfs/template
2019-10-14 22:39:29 +02:00

22 lines
841 B
Bash

# Template file for 'gocryptfs'
pkgname=gocryptfs
version=1.7.1
revision=1
wrksrc="${pkgname}_v${version}_src-deps"
build_style=go
go_import_path="github.com/rfjakob/gocryptfs"
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="mustaqim <mustaqim+void@pm.me>"
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=d3fc2c87b869025cd51e4abea030e58e7383197a7458f26bf99a71b224402bda
post_install() {
vlicense $GOSRCPATH/LICENSE
vman $GOSRCPATH/Documentation/gocryptfs.1
}