summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorharuyukilxz2018-07-14 23:48:20 +0800
committerharuyukilxz2018-07-14 23:48:32 +0800
commitece0eecbd297288999a6b725ed1c4ba5a8255166 (patch)
tree7889c8d6fc50aad43ebd7365eb35c60228ac5ef3 /PKGBUILD
parent816a5470501c6901925777f1ba404a5f4a2f5f8c (diff)
downloadaur-ece0eecbd297288999a6b725ed1c4ba5a8255166.tar.gz
fix
Diffstat (limited to 'PKGBUILD')
-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/"
}