From b287a01635dd77b80717c06b31b451d4e5d4205c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 6 Apr 2017 19:29:35 +0000
Subject: nvidia: rebuild for kernel

---
 abs/core/nvidia/PKGBUILD       | 8 ++++----
 abs/core/nvidia/nvidia.install | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index b5a0707..2ebee1f 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -6,12 +6,12 @@
 pkgbase=nvidia
 pkgname=(nvidia nvidia-dkms)
 pkgver=378.13
-_extramodules=extramodules-4.4-ARCH
-pkgrel=4
+_extramodules=extramodules-4.9-ARCH
+pkgrel=5
 pkgdesc="NVIDIA drivers for linux"
 arch=('i686' 'x86_64')
 url="http://www.nvidia.com/"
-makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.4' 'linux-headers<4.5')
+makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.9' 'linux-headers<4.10')
 license=('custom')
 options=('!strip')
 source=('kernel_4.10.patch')
@@ -53,7 +53,7 @@ build() {
 
 package_nvidia() {
     pkgdesc="NVIDIA drivers for linux"
-    depends=('linux>=4.4' 'linux<4.5' "nvidia-utils=${pkgver}" 'libgl')
+    depends=('linux>=4.9' 'linux<4.10' "nvidia-utils=${pkgver}" 'libgl')
     install=nvidia.install
 
     install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index e08e837..0169714 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,5 +1,5 @@
 post_install() {
-    EXTRAMODULES='extramodules-4.4-ARCH'
+    EXTRAMODULES='extramodules-4.9-ARCH'
     depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
     echo 'In order to use nvidia module, reboot the system.'
 }
-- 
cgit v0.12

