fido2luks/PKGBUILD
Saravanan Palanisamy 2266754a95
Some checks reported errors
continuous-integration/drone/push Build encountered an error
create PKGBUILD file for archlinux package (#17)
* create PKGBUILD file

* use build & install method

* add package dependencies
2020-09-02 14:14:40 +02:00

19 lines
504 B
Bash

# 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"
}