Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AUR fido2luks 0.2.16-2 patch
diff --git a/PKGBUILD b/PKGBUILD
index 67b5378..ff451c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: shimunn <shimun@shimun.net>
pkgname=fido2luks
pkgver=0.2.16
-pkgrel=1
+pkgrel=2
makedepends=('rust' 'cargo' 'cryptsetup' 'clang')
depends=('cryptsetup')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -16,10 +16,12 @@ build() {
cd "${pkgname}-${pkgver}"
cargo build --release --locked --all-features --target-dir=target
./target/release/fido2luks completions bash target
+ ./target/release/fido2luks completions fish target
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
install -Dm 644 target/fido2luks.bash "${pkgdir}/usr/share/bash-completion/completions/fido2luks"
+ install -Dm 644 target/fido2luks.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment