void-packages/srcpkgs/fscrypt/template
Érico Rolim 89f54ff0d8 fscrypt: update to 0.2.9.
They fixed the issues in 32bit systems.
2020-06-21 16:35:59 +02:00

26 lines
843 B
Bash

# Template file for 'fscrypt'
pkgname=fscrypt
version=0.2.9
revision=1
build_style=go
go_import_path=github.com/google/fscrypt
go_package="${go_import_path}/cmd/fscrypt"
hostmakedepends="m4"
makedepends="pam-devel"
short_desc="Tool for managing Linux filesystem encryption"
maintainer="Andrea Brancaleoni <abc@pomel.me>"
license="Apache-2.0"
homepage="https://github.com/google/fscrypt"
distfiles="https://github.com/google/fscrypt/archive/v${version}.tar.gz"
checksum=36f1166d9886548b0d72beeeffb9ca8fb5b28b63a42b369923bc3f0bea78bb3d
conf_files="/etc/pam.d/fscrypt"
post_install() {
# build and install the PAM module
LDFLAGS= make PREFIX=/usr DESTDIR=${DESTDIR} install-pam
# remove Ubuntu specific pam-config files
rm -rf ${DESTDIR}/usr/share/pam-configs/
# add PAM config file
vinstall ${FILESDIR}/pam_config 644 etc/pam.d fscrypt
}