# Maintainer: Alan Jenkins # Co-Maintainer: Mark Wagie # Co-Maintainer: Marcel Unbehaun pkgname=steamtinkerlaunch pkgver=0.99.6 pkgrel=1 pkgdesc="Wrapper script for Steam custom launch options" arch=('any') url="https://github.com/frostworx/steamtinkerlaunch" license=('GPL3') depends=('bash') makedepends=('git') optdepends=( 'strace: write a strace log of the launched game' 'gamemode: for using GameMode per game' 'mangohud: for using MangoHUD per game' 'vkbasalt: for using vkBasalt per game' 'winetricks: winetricks support' 'wget: for optional reshade download' 'unzip: for optional reshade download' 'git: for pulling optional shaders' 'xdotool: for playing regular games side-by-side in VR' 'xorg-xwininfo: for playing regular games side-by-side in VR' 'vr-video-player: for playing regular games side-by-side in VR' 'nyrna: for using Nyrna per game' 'wmctrl: for optional minimize/maximize of all open windows on game start/stop' 'net-tools: for optional network monitoring' ) _commit='9cd09942318ff2cd86b8ee6c0c759129c81f394c' source=("git+https://github.com/frostworx/steamtinkerlaunch.git#commit=$_commit") sha1sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" printf $(grep 'PROGVERS=' stl | head -n1 | cut -d\" -f2 | sed 's/^v//') } package() { cd "$srcdir/$pkgname" install -Dm755 stl -t "$pkgdir/usr/bin" install -d "$pkgdir/usr/share/stl" cp -r sbs tweaks "$pkgdir/usr/share/stl" install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" }