2023-03-12 22:19:37 +01:00
|
|
|
# Template file for 'steamguard-cli'
|
|
|
|
pkgname=steamguard-cli
|
2023-12-09 22:41:59 +01:00
|
|
|
version=0.12.5
|
2023-03-12 22:19:37 +01:00
|
|
|
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"
|
2023-12-09 22:41:59 +01:00
|
|
|
checksum=fce353371010cbc298e6dc2d7063742178639eb90127b752d85c3cf92a46661d
|
2023-03-12 22:19:37 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|