22 lines
786 B
Bash
22 lines
786 B
Bash
# Template file for 'steamguard-cli'
|
|
pkgname=steamguard-cli
|
|
version=0.14.2
|
|
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 <filip@filiprojek.cz>"
|
|
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=cc0c52bb3dd0a325d11575475e54bb959a3cbdc346e5545052e1b0a21de7f16f
|
|
|
|
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
|
|
}
|