# Contributor: Luca Weiss <luca@lucaweiss.eu>
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=fscryptctl
pkgver=1.2.0
pkgrel=0
pkgdesc="Small C tool for Linux filesystem encryption"
url="https://github.com/google/fscryptctl"
arch="all"
license="Apache-2.0"
makedepends="linux-headers"
source="https://github.com/google/fscryptctl/archive/v$pkgver/fscryptctl-$pkgver.tar.gz"
options="!check" # tests require root

# Skip building docs because pandoc is only available for x86_64 and aarch64

build() {
	make fscryptctl
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install-bin
}

sha512sums="
81610b557af6a53e85b69c7a99bacc324985bc6c806fb6dafe003578353851e47b6fa4f0e931a79b202b4c9b190a209f5e68b7362ac600dbdb888c36efecf1a0  fscryptctl-1.2.0.tar.gz
"
