parent
f899b44d58
commit
4be849e9fe
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /usr/bin/nvidia-sleep.sh "resume"
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec /usr/bin/nvidia-sleep.sh "suspend"
|
|
@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
|
|||
|
||||
pkgname=nvidia
|
||||
version=550.120
|
||||
revision=2
|
||||
revision=3
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="custom:NVIDIA Proprietary"
|
||||
homepage="https://www.nvidia.com/en-us/drivers/unix/"
|
||||
|
@ -212,6 +212,10 @@ do_install() {
|
|||
vbin systemd/nvidia-sleep.sh
|
||||
mkdir -p usr/libexec/elogind/system-sleep
|
||||
vinstall ${FILESDIR}/nvidia-sleep.sh 0755 usr/libexec/elogind/system-sleep nvidia.sh
|
||||
vmkdir etc/zzz.d/suspend
|
||||
vinstall ${FILESDIR}/nvidia-suspend 0755 etc/zzz.d/suspend
|
||||
vmkdir etc/zzz.d/resume
|
||||
vinstall ${FILESDIR}/nvidia-resume 0755 etc/zzz.d/resume
|
||||
|
||||
# opencl pkg
|
||||
vinstall nvidia.icd 644 etc/OpenCL/vendors
|
||||
|
|
Loading…
Reference in New Issue