# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=gocryptfs pkgver=2.4.0 pkgrel=2 pkgdesc="Encrypted overlay filesystem written in Go" url="https://github.com/rfjakob/gocryptfs" arch="all" license="MIT" makedepends="go bash openssl-dev>3" depends="fuse" options="!check" # test requires fuse kernel module subpackages="$pkgname-doc" source="https://github.com/rfjakob/gocryptfs/releases/download/v$pkgver/gocryptfs_v${pkgver}_src-deps.tar.gz" builddir="$srcdir/${pkgname}_v${pkgver}_src-deps" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { ./build.bash } package() { make DESTDIR="$pkgdir" install rm -rf "$pkgdir"/usr/share/licenses } sha512sums=" b46d6eee21a0194022a042d6ae2a737f221a0932bb899123438f2cf929ecb50635fcfc90012d6a04928fd4b2856d6e24d19392ce5aa87eea573fb58cf5a5d4e1 gocryptfs_v2.4.0_src-deps.tar.gz "