From b66603b53f02bb83cde3393cac13e1c696896bd8 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sun, 12 Mar 2023 22:19:37 +0100 Subject: [PATCH] New package: steamguard-cli-0.12.4 --- srcpkgs/steamguard-cli/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/steamguard-cli/template diff --git a/srcpkgs/steamguard-cli/template b/srcpkgs/steamguard-cli/template new file mode 100644 index 0000000000000..abfd18a32e875 --- /dev/null +++ b/srcpkgs/steamguard-cli/template @@ -0,0 +1,21 @@ +# Template file for 'steamguard-cli' +pkgname=steamguard-cli +version=0.12.4 +revision=1 +build_style=cargo +build_helper=qemu +hostmakedepends="pkg-config" +short_desc="Utility for Steam 2FA and for managing trade confirmations" +maintainer="Filip Rojek " +license="GPL-3.0-only" +homepage="https://github.com/dyc3/steamguard-cli" +changelog="https://github.com/dyc3/steamguard-cli/releases" +distfiles="https://github.com/dyc3/steamguard-cli/archive/v${version}/steamguard-cli-${version}.tar.gz" +checksum=09ebf49988c5e4ea293f2f52f504602054caae9df293414e4fb11ca5d86b0e09 + +post_install() { + for shell in bash zsh fish; do + vtargetrun ${DESTDIR}/usr/bin/steamguard completion --shell ${shell} > completion.${shell} + vcompletion completion.${shell} ${shell} steamguard + done +}