[arch-commits] Commit in nvidia-lts/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Sep 4 09:26:43 UTC 2015
Date: Friday, September 4, 2015 @ 11:26:42
Author: fyan
Revision: 245268
upgpkg: nvidia-lts 355.11-1
upstream new release
Modified:
nvidia-lts/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-04 08:47:55 UTC (rev 245267)
+++ PKGBUILD 2015-09-04 09:26:42 UTC (rev 245268)
@@ -2,7 +2,7 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=nvidia-lts
-pkgver=352.41
+pkgver=355.11
_extramodules=extramodules-3.14-lts
pkgrel=1
pkgdesc="NVIDIA drivers for linux-lts"
@@ -16,8 +16,8 @@
options=(!strip)
source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
"ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
-md5sums=('3f9c9fed035fa845e3f6a1ea5f5732f7'
- 'd41d1a358edbade36cfd97cdcc9a80b9')
+md5sums=('16d143ccafe99328a2ca8e5a396fd4bc'
+ '30133d89690f4683c4e289ec6c0247dc')
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
@@ -32,22 +32,17 @@
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
cd "${_pkg}/kernel"
make SYSSRC=/usr/lib/modules/${_kernver}/build module
-
- if [[ "$CARCH" = "x86_64" ]]; then
- cd uvm
- make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
- fi
}
package() {
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
-
+
if [[ "$CARCH" = "x86_64" ]]; then
- install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko"
fi
-
+
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/"*.ko
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
More information about the arch-commits
mailing list