22 lines
786 B
Bash
22 lines
786 B
Bash
# Template file for 'steamguard-cli'
|
|
pkgname=steamguard-cli
|
|
version=0.13.0
|
|
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=3df79d0263a6c60c0cdde09c341d994776d7236216e460ebf958d6285c4ab0b6
|
|
|
|
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
|
|
}
|