# Compiling Time: 0.01 SBU # Maintainer: DeX77 pkgname=gamemode pkgver=1.6.1 pkgrel=1 pkgdesc="A daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS" archs=('x86_64') groups=('games-extra') depends=('polkit' 'systemd' 'inih>=r49') makedepends=('systemd-devel') _F_github_author=FeralInteractive _F_meson_confopts=" -Dwith-pam-group=gamemode" Finclude github meson source=("https://github.com/FeralInteractive/gamemode/releases/download/$pkgver/gamemode-$pkgver.tar.xz" \ gamemode.conf \ 45-gamemode.conf ) sha1sums=('c1a5d78cc5abe0f73b30dd638522dd365f392364' \ '2622cff87a9c51a1df12022df76df362c80e31fd' \ '9abcd0388b5e43eda5882cbacc9c18094c46eeb9') build() { Meson_build Ffile etc/limits.d/45-gamemode.conf Fdoc ${_F_cd_path}/example/gamemode.ini # Create users using sysuser.d Fmkdir usr/lib/sysusers.d/ Ffile /usr/lib/sysusers.d/$pkgname.conf } # optimization OK