summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8df078a16fe..8d4b49a11a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,10 @@ sha512sums=('SKIP')
package() {
cd nvidia-prime
git checkout 0e1e70e
- cp -r sbin $pkgdir/
- cp -r usr $pkgdir/
+ mkdir -p "$pkgdir/usr/bin/"
+ mkdir -p "$pkgdir/usr/share/lightdm/lightdm.conf.d/"
+ mkdir -p "$pkgdir/usr/share/X11/xorg.conf.d/"
+ install -m 755 sbin/prime-offload "$pkgdir/usr/bin/"
+ install -m 755 usr/share/lightdm/lightdm.conf.d/90-nvidia.conf "$pkgdir/usr/share/lightdm/lightdm.conf.d/"
+ install -m 755 usr/share/X11/xorg.conf.d/11-nvidia-prime.conf "$pkgdir/usr/share/X11/xorg.conf.d/"
}