blob: ac8fee515ec857fa5b83b480833e3979d378b946 (
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
37
38
39
40
41
42
43
|
# Maintainer: robus <RobusGrobus95@gmail.com>
_pkgname=nvidia-xrun
pkgname=$_pkgname"-git"
pkgver=0.3.79.gaf3b734
pkgrel=1
epoch=
pkgdesc="Script to run dedicated X server with discrete nvidia graphics (git version)"
arch=("x86_64")
url="https://github.com/Witko/nvidia-xrun"
license=('GPL')
groups=()
depends=('xorg-server' 'xorg-xinit' 'xorg-xrandr' 'nvidia' 'mesa')
makedepends=('git')
checkdepends=()
optdepends=()
provides=("$_pkgname=$pkgver" "$pkgname=$pkgver")
conflicts=("$_pkgname")
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/Witko/$_pkgname.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed "s/-/./g"
}
package() {
cd "$_pkgname"
install -Dm 644 nvidia-xrun-pm.service "$pkgdir/etc/systemd/system/nvidia-xrun-pm.service"
install -Dm 644 config/nvidia-xrun "$pkgdir/etc/default/nvidia-xrun"
install -Dm 644 nvidia-xorg.conf "$pkgdir/etc/X11/nvidia-xorg.conf"
install -Dm 644 nvidia-xinitrc "$pkgdir/etc/X11/xinit/nvidia-xinitrc"
install -Dm 755 nvidia-xrun "$pkgdir/usr/bin/nvidia-xrun"
install -dm 555 "$pkgdir/etc/X11/xinit/nvidia-xinitrc.d"
install -dm 555 "$pkgdir/etc/X11/nvidia-xorg.conf.d"
}
|