summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-04-18 17:35:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-04-18 17:35:34 (GMT)
commita3e950053d847e719d489c13064b6c165425385c (patch)
treefccd4ec9f53e519563c0cfd25833cd8c3caaaa20 /abs/core/nvidia/PKGBUILD
parentbd44be589a2626bd26a7f31b23c2358fb74e5c95 (diff)
parent0a8de86de9f21f7877075ac2800254239ae84a81 (diff)
downloadlinhes_pkgbuild-a3e950053d847e719d489c13064b6c165425385c.zip
linhes_pkgbuild-a3e950053d847e719d489c13064b6c165425385c.tar.gz
linhes_pkgbuild-a3e950053d847e719d489c13064b6c165425385c.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/nvidia/PKGBUILD')
-rw-r--r--abs/core/nvidia/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index 47329f3..2ebee1f 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -5,19 +5,21 @@
pkgbase=nvidia
pkgname=(nvidia nvidia-dkms)
-pkgver=375.26
-_extramodules=extramodules-4.4-ARCH
-pkgrel=1
+pkgver=378.13
+_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')
source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
-sha512sums_i686=('3bc859a95469a45f3c627018248d83e178d160385c3d17d9f890b0d142ecd1220fb21c442e4fe7755b831227a9c820736f447b162acd9699819c6e8145d6d841')
-sha512sums_x86_64=('f52f6597daa1eaf4cbd934d785da6028ef23ecef98e14746143e3738504f8d65b73788abbcf9fd812317fc2c53cdf1c4d4839de57fafdea1930a08c6b21f1992')
+md5sums=('e81769b830b7a1e60c635e3bbe559f59')
+md5sums_i686=('dd1077750af9a067739ec291fb24175f')
+md5sums_x86_64=('fe4d25b19a780a690cafc8e3b7c0113f')
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
@@ -26,6 +28,8 @@ prepare() {
sh "${_pkg}.run" --extract-only
cd "${_pkg}"
+# patch -Np1 --no-backup-if-mismatch -i ../kernel_4.10.patch
+
cp -a kernel kernel-dkms
cd kernel-dkms
sed -i "s/__VERSION_STRING/${pkgver}/" dkms.conf
@@ -49,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" \