mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-25 08:53:06 +02:00
Added an example PKBUILD file for Arch
This commit is contained in:
parent
81cc0e9aa7
commit
24a192d594
30
example/archlinux/gamemode-git/PKGBUILD
Normal file
30
example/archlinux/gamemode-git/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Maintainer: Ysblokje <ysblokje at gmail dot com>
|
||||||
|
pkgname=('gamemode-git')
|
||||||
|
pkgver=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
|
||||||
|
}
|
4
example/archlinux/readme.txt
Normal file
4
example/archlinux/readme.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
The following folders contain PKGBUILD file for arch(like) distro's. You can use those as starting point for your own packages.
|
||||||
|
|
||||||
|
Regards,
|
||||||
|
Minze Zwerver
|
Loading…
x
Reference in New Issue
Block a user