From a5b0198ceb4a25fe40658bfff4e1a4f38cb6b9fd Mon Sep 17 00:00:00 2001 From: grmat Date: Fri, 13 Apr 2018 09:28:00 +0000 Subject: [PATCH] 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. --- README.md | 2 +- example/archlinux/gamemode-git/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ed8b5db..5fbc761 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/example/archlinux/gamemode-git/PKGBUILD b/example/archlinux/gamemode-git/PKGBUILD index 2b9cd33..999ebd3 100644 --- a/example/archlinux/gamemode-git/PKGBUILD +++ b/example/archlinux/gamemode-git/PKGBUILD @@ -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 }