diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = gamemode pkgdesc = A daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS. pkgver = 1.0 - pkgrel = 4 + pkgrel = 5 url = https://github.com/FeralInteractive/gamemode.git arch = x86_64 license = BSD 3-Clause License (Revised) @@ -12,7 +12,7 @@ pkgbase = gamemode depends = polkit optdepends = systemd provides = gamemode - source = https://github.com/FeralInteractive/gamemode/archive/1.0.tar.gz + source = gamemode-1.0.tar.gz::https://github.com/FeralInteractive/gamemode/archive/1.0.tar.gz sha256sums = bc458e294221e06b63edb286dd3dc1b541014941027198600959b27b11dd6a9d pkgname = gamemode @@ -1,7 +1,7 @@ # Maintainer: Ysblokje <ysblokje at gmail dot com> pkgname=('gamemode') pkgver=1.0 -pkgrel=4 +pkgrel=5 pkgdesc="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" @@ -10,7 +10,7 @@ optdepends=('systemd') depends=('polkit') makedepends=('meson' 'ninja' 'pkg-config' 'git') provides=('gamemode') -source=("https://github.com/FeralInteractive/gamemode/archive/$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/FeralInteractive/gamemode/archive/$pkgver.tar.gz") sha256sums=('bc458e294221e06b63edb286dd3dc1b541014941027198600959b27b11dd6a9d') build() { @@ -20,6 +20,8 @@ build() { package() { DESTDIR=$pkgdir ninja -C build install + mv ${pkgdir}/etc/systemd ${pkgdir}/usr/lib/systemd + rm -rf ${pkgdir}/etc install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" ${pkgname}-${pkgver}/LICENSE.txt } |