Updating the nvidia-settings icon path (#51)

Fixed the path to the nvidia-settings icon. It is now displayed according to the current icon theme instead of constantly referring to pixmap.

References:
https://github.com/NVIDIA/nvidia-settings/pull/56
https://bugs.archlinux.org/task/54495
This commit is contained in:
Cabopust 2021-07-27 16:30:41 +03:00 committed by GitHub
parent 68cd83585c
commit 05233ee23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1265,7 +1265,7 @@ nvidia-settings-tkg() {
install -D -m644 nvidia-settings.1.gz -t "${pkgdir}/usr/share/man/man1"
install -D -m644 nvidia-settings.png -t "${pkgdir}/usr/share/pixmaps"
install -D -m644 nvidia-settings.desktop -t "${pkgdir}/usr/share/applications"
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:nvidia-settings:' -i "${pkgdir}/usr/share/applications/nvidia-settings.desktop"
install -D -m755 "libnvidia-gtk3.so.${pkgver}" -t "${pkgdir}/usr/lib"