summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nvidia/PKGBUILD')
-rw-r--r--abs/core/nvidia/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index c545054..cbf0f4c 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -1,25 +1,23 @@
-# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgbase=nvidia
pkgname=(nvidia nvidia-dkms)
-pkgver=390.67
+pkgver=415.27
_extramodules=extramodules-4.9-ARCH
-pkgrel=1
+pkgrel=8
pkgdesc="NVIDIA drivers for linux"
arch=('x86_64')
url="http://www.nvidia.com/"
-makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.9' 'linux-headers<4.10')
+makedepends=("nvidia-utils=${pkgver}" 'libglvnd' 'linux' 'linux-headers>=4.9' 'linux-headers<4.10')
license=('custom')
options=('!strip')
-source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run"
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
kernel-4.16.patch)
-sha256sums=('4d9d4a636d568a93412cd9a2db08c594adef20861707dfdfbd6ae15db3292b26'
- '622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
-
-_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+sha512sums=('5919333136042a227ff36c850d0c57898fb428a77d88633d205a269db4b844356a87f5b1e5c3042f40feaf083d4f82d32df5366820375b601f9d69d98cada0b6'
+ 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af')
prepare() {
sh "${_pkg}.run" --extract-only
@@ -55,8 +53,8 @@ build() {
package_nvidia() {
pkgdesc="NVIDIA drivers for linux"
- depends=('linux>=4.9' 'linux<4.10' "nvidia-utils=${pkgver}" 'libgl')
install=nvidia.install
+ depends=('linux>=4.9' 'linux<4.10' "nvidia-utils=${pkgver}" 'libglvnd')
install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
"${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
@@ -71,9 +69,10 @@ package_nvidia() {
package_nvidia-dkms() {
pkgdesc="NVIDIA driver sources for linux"
- depends=('dkms' "nvidia-utils=$pkgver" 'libgl')
+ depends=('dkms' "nvidia-utils=$pkgver" 'libglvnd')
optdepends=('linux-headers: Build the module for Arch kernel'
'linux-lts-headers: Build the module for LTS Arch kernel')
+ provides=("nvidia=$pkgver")
conflicts+=('nvidia')
cd ${_pkg}