[arch-commits] Commit in nvidia-settings/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Jul 31 19:14:54 UTC 2019
Date: Wednesday, July 31, 2019 @ 19:14:54
Author: svenstaro
Revision: 358846
upgpkg: nvidia-settings 430.40-1
Modified:
nvidia-settings/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-31 19:00:51 UTC (rev 358845)
+++ PKGBUILD 2019-07-31 19:14:54 UTC (rev 358846)
@@ -4,7 +4,7 @@
pkgbase=nvidia-settings
pkgname=('nvidia-settings' 'libxnvctrl')
-pkgver=430.14
+pkgver=430.40
pkgrel=1
pkgdesc='Tool for configuring the NVIDIA graphics driver'
url='https://github.com/NVIDIA/nvidia-settings'
@@ -14,14 +14,13 @@
options=('staticlibs')
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/NVIDIA/nvidia-settings/archive/${pkgver}.tar.gz
libxnvctrl_so.patch)
-sha512sums=('f3046fed2f6ac956e6987ad3223bbdb4795c1778847b9a0b99c68e79893bbf82866ad9de252a6dd5459bcc24e6519f534d92f2ee05b4c65a611a25f3c0b5ca4f'
+sha512sums=('b45591e2acd0cf35ef96d416727c7fc9c79d02177546084e0e2c939a5f6ad4a3a3c11db45131c2e2ca43c72f13f83c03f03a502a75e07aefaba208c137938c04'
'f69f5dc84fe624579a3c9ce877f4ae4e34c2184877576afbea07b8abdd7ff01e470517f2b77cd11a904518cbcb83fb388ca1d08888006f0ef2854723920c9cf8')
prepare() {
export PREFIX=/usr
export NV_USE_BUNDLED_LIBJANSSON=0
- cd ${pkgbase}-${pkgver}
- patch -p1 < "${srcdir}/libxnvctrl_so.patch"
+ export OUTPUTDIR="out"
}
build() {
@@ -53,10 +52,7 @@
cd src/libXNVCtrl
install -Dm 644 *.h -t "${pkgdir}/usr/include/NVCtrl"
- install -Dm 644 libXNVCtrl.a -t "${pkgdir}/usr/lib"
- install -Dm 755 libXNVCtrl.so.0.0.0 -t "${pkgdir}/usr/lib"
- ln -s libXNVCtrl.so.0.0.0 "${pkgdir}/usr/lib/libXNVCtrl.so.0"
- ln -s libXNVCtrl.so.0 "${pkgdir}/usr/lib/libXNVCtrl.so"
+ install -Dm 644 out/libXNVCtrl.a -t "${pkgdir}/usr/lib"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list