diff options
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" +} |