[arch-commits] Commit in nvidia-utils/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Tue Feb 1 19:55:55 UTC 2022


    Date: Tuesday, February 1, 2022 @ 19:55:55
  Author: svenstaro
Revision: 435716

upgpkg: nvidia-utils 510.47.03-2: Add nvidia-powerd support

Modified:
  nvidia-utils/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-01 19:52:09 UTC (rev 435715)
+++ PKGBUILD	2022-02-01 19:55:55 UTC (rev 435716)
@@ -5,7 +5,7 @@
 pkgbase=nvidia-utils
 pkgname=('nvidia-utils' 'opencl-nvidia' 'nvidia-dkms')
 pkgver=510.47.03
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="http://www.nvidia.com/"
 license=('custom')
@@ -217,11 +217,10 @@
     ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils"
 
     # new power management support
-    install -Dm644 systemd/system/nvidia-suspend.service "${pkgdir}/usr/lib/systemd/system/nvidia-suspend.service"
-    install -Dm644 systemd/system/nvidia-hibernate.service "${pkgdir}/usr/lib/systemd/system/nvidia-hibernate.service"
-    install -Dm644 systemd/system/nvidia-resume.service "${pkgdir}/usr/lib/systemd/system/nvidia-resume.service"
+    install -Dm644 systemd/system/*.service -t "${pkgdir}/usr/lib/systemd/system"
     install -Dm755 systemd/system-sleep/nvidia "${pkgdir}/usr/lib/systemd/system-sleep/nvidia"
     install -Dm755 systemd/nvidia-sleep.sh "${pkgdir}/usr/bin/nvidia-sleep.sh"
+    install -Dm644 nvidia-powerd "${pkgdir}/usr/bin/nvidia-powerd"
 
     # distro specific files must be installed in /usr/share/X11/xorg.conf.d
     install -Dm644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf"



More information about the arch-commits mailing list