doc/examples: remove 'ninja' as explicit dep (#4)

as it's already required by meson.
Also use the default unit file path (/usr/lib/systemd/user/) for
packaged versions. /etc/systemd/user is intended for manually installed
services.

arch-meson is just a Meson wrapper with correct arch packaging prefixes set.
This commit is contained in:
grmat 2018-04-13 09:28:00 +00:00 committed by Marc Di Luzio
parent 9e2188c94e
commit 66e805c481
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ GameMode depends on `meson` for building and `systemd` for internal communicatio
# Ubuntu
apt install meson libsystemd-dev pkg-config ninja-build
# Arch
pacman -S meson systemd ninja
pacman -S meson systemd
# Fedora
dnf install meson systemd-devel pkg-config

View File

@ -7,7 +7,7 @@ arch=('x86_64')
url="https://github.com/FeralInteractive/gamemode.git"
license=('MIT')
depends=('systemd' 'polkit')
makedepends=('meson' 'ninja' 'pkg-config')
makedepends=('meson' 'pkg-config')
provides=('gamemode')
source=("git+https://github.com/FeralInteractive/gamemode.git")
sha256sums=('SKIP')
@ -19,7 +19,7 @@ pkgver() {
build() {
cd gamemode
meson --prefix=/usr build -Dwithsystemd-user-unit-dir=/etc/systemd/user
arch-meson build
cd build
ninja
}