mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00

Updating the README.md to bring it ready for wider release: * Removed some points that were more implementation details * Added Contributions section * Simplified the usage section * Expanded initial explanation * Fixed steam launch command to allow the overlay to still work Others: * Mark as 1.0 * Update the license file for 2018
31 lines
759 B
Bash
31 lines
759 B
Bash
# Maintainer: Ysblokje <ysblokje at gmail dot com>
|
|
pkgname=('gamemode-git')
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="GameMode is a daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS."
|
|
arch=('x86_64')
|
|
url="https://github.com/FeralInteractive/gamemode.git"
|
|
license=('MIT')
|
|
depends=('systemd' 'polkit')
|
|
makedepends=('meson' 'ninja' 'pkg-config')
|
|
provides=('gamemode')
|
|
source=("git+https://github.com/FeralInteractive/gamemode.git")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd gamemode
|
|
echo $(git rev-parse --short HEAD)
|
|
}
|
|
|
|
build() {
|
|
cd gamemode
|
|
meson --prefix=/usr build -Dwithsystemd-user-unit-dir=/etc/systemd/user
|
|
cd build
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd gamemode/build
|
|
DESTDIR=$pkgdir ninja install
|
|
}
|