create PKGBUILD file for archlinux package (#17)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
* create PKGBUILD file * use build & install method * add package dependencies
This commit is contained in:
parent
8811cff6d1
commit
2266754a95
18
PKGBUILD
Normal file
18
PKGBUILD
Normal file
@ -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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user