summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebb5f23c665c2cf0f1c2cdb6ebf50791dd2551df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Wellington <wellingtonwallace@gmail.com>

pkgname=fastgame-git
pkgver=0.0.3.r0.gd243c97
pkgrel=1
pkgdesc='Optimize system performance for games'
arch=(x86_64 i686)
url='https://github.com/wwmm/fastgame'
license=('GPL3')
depends=('boost-libs')
makedepends=('meson' 'boost')
optdepends=('libxnvctrl: nvidia overclock')
source=("git+https://github.com/wwmm/fastgame.git")
conflicts=(fastgame)
provides=(fastgame)
sha512sums=('SKIP')

pkgver() {
  cd fastgame
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  mkdir -p fastgame/build
  cd fastgame/build

  arch-meson ..

  ninja
}

package() {
  cd fastgame/build

  DESTDIR="$pkgdir" ninja install
}