diff options
author | saravanan palanisamy | 2020-09-02 22:29:26 +0400 |
---|---|---|
committer | saravanan palanisamy | 2020-09-02 22:29:26 +0400 |
commit | 29cc582265ce17903ca8c74a7deabf1edaa0507e (patch) | |
tree | 4798c4885c55dd22501f9dcdb40e92fc024417da /PKGBUILD | |
download | aur-29cc582265ce17903ca8c74a7deabf1edaa0507e.tar.gz |
add package fido2luks
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9796d7b7deb2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: shimunn <shimun@shimun.net> +pkgname=fido2luks +pkgver=0.2.12 +pkgrel=1 +makedepends=('rust' 'cargo' 'cryptsetup' 'clang') +depends=('cryptsetup') +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +pkgdesc="Decrypt your LUKS partition using a FIDO2 compatible authenticator" +url="https://github.com/shimunn/fido2luks" +license=('MPL-2.0') + +build() { + cargo build --release --locked --all-features --target-dir=target +} + +package() { + install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" +} |