summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViliam Ganz2015-06-11 20:38:33 +0200
committerViliam Ganz2015-06-11 20:38:33 +0200
commit12cb9e8293a07c86a363296faca40e91e00e655f (patch)
treeedb1124d73a04453018c908ce33e932e521449d4
downloadaur-12cb9e8293a07c86a363296faca40e91e00e655f.tar.gz
Version 0.1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e62e7c6cd9e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = nvidia-xrun
+ pkgdesc = Script to run dedicated X server with discrete nvidia graphics
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/Witko/nvidia-xrun
+ arch = x86_64
+ license = GPL
+ depends = xorg-server
+ depends = xorg-xinit
+ depends = xorg-xrandr
+ depends = nvidia
+ depends = mesa-libgl
+ depends = bbswitch
+ source = https://github.com/Witko/nvidia-xrun/archive/0.1.tar.gz
+ md5sums = 96ee491905ff47e8cd35e9e0fddcd502
+
+pkgname = nvidia-xrun
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4a5c5575653
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Viliam Ganz <viliam.ganz@gmail.com>
+pkgname=nvidia-xrun
+pkgver=0.1
+pkgrel=1
+epoch=
+pkgdesc="Script to run dedicated X server with discrete nvidia graphics"
+arch=("x86_64")
+url="https://github.com/Witko/nvidia-xrun"
+license=('GPL')
+groups=()
+depends=('xorg-server' 'xorg-xinit' 'xorg-xrandr' 'nvidia' 'mesa-libgl' 'bbswitch')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/Witko/nvidia-xrun/archive/$pkgver.tar.gz")
+noextract=()
+md5sums=()
+validpgpkeys=()
+
+package() {
+ cd "$pkgname-$pkgver"
+ mkdir -p "$pkgdir/etc/X11/"
+ mkdir -p "$pkgdir/etc/X11/xinit"
+ mkdir -p "$pkgdir/etc/X11/nvidia.xorg.config.d"
+ cp nvidia-xorg.conf "$pkgdir/etc/X11/nvidia-xorg.conf"
+ cp nvidia-xinitrc "$pkgdir/etc/X11/xinit/nvidia-xinitrc"
+ mkdir "$pkgdir/bin"
+ cp nvidia-xrun "$pkgdir/bin/nvidia-xrun"
+}
+md5sums=('96ee491905ff47e8cd35e9e0fddcd502')