nvidia: update

This commit is contained in:
nyyu 2018-02-13 08:17:19 +01:00
parent aafd3a7359
commit e0a20a025e

View file

@ -6,12 +6,12 @@
pkgbase=nvidia pkgbase=nvidia
pkgname=(nvidia nvidia-dkms) pkgname=(nvidia nvidia-dkms)
pkgver=390.25 pkgver=390.25
_extramodules=extramodules-4.15-ARCH _extramodules=extramodules-4.16-ARCH
pkgrel=99 pkgrel=99
pkgdesc="NVIDIA drivers for linux" pkgdesc="NVIDIA drivers for linux"
arch=('x86_64') arch=('x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.15' 'linux-headers<4.16') makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>4.15' 'linux-headers<4.17')
license=('custom') license=('custom')
options=('!strip') options=('!strip')
source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
@ -52,7 +52,7 @@ build() {
package_nvidia() { package_nvidia() {
pkgdesc="NVIDIA drivers for linux" pkgdesc="NVIDIA drivers for linux"
depends=('linux>=4.15' 'linux<4.16' "nvidia-utils=${pkgver}" 'libgl') depends=('linux>4.15' 'linux<4.17' "nvidia-utils=${pkgver}" 'libgl')
install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
"${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko