summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJerry2022-01-14 11:14:21 +0800
committerJerry2022-01-14 11:15:03 +0800
commit43b07c751ccbe60cb21790d06400be9d12bf68ed (patch)
tree7b018095c8dfcf1f3c4f0aed27a7f2ce0f86a4fe /PKGBUILD
parent28bf9c69ebd6cba92a56be28516ad271afa0a1c0 (diff)
downloadaur-nvidia-340xx-lts.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ac62f2bf8c..b4ad85eee85 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,11 @@
pkgbase=nvidia-340xx-lts
pkgname=(nvidia-340xx-lts nvidia-340xx-lts-dkms)
pkgver=340.108
-pkgrel=4
+pkgrel=5
pkgdesc="NVIDIA drivers for linux-lts, 340xx legacy branch"
arch=('x86_64')
url="https://www.nvidia.com/"
-makedepends=("nvidia-340xx-utils=${pkgver}" 'linux-lts>=5.10.16' 'linux-lts-headers>=5.10.16')
+makedepends=("nvidia-340xx-utils=${pkgver}" 'linux-lts>=5.15.14' 'linux-lts-headers>=5.15.14')
conflicts=('nvidia-lts')
license=('custom')
options=(!strip)
@@ -23,6 +23,9 @@ source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Li
0002-kernel-5.8.patch
0003-kernel-5.9.patch
0004-kernel-5.10.patch
+ 0005-kernel-5.11.patch
+ 0006-kernel-5.14.patch
+ 0007-kernel-5.15.patch
)
sha256sums=('995d44fef587ff5284497a47a95d71adbee0c13020d615e940ac928f180f5b77'
'5b4cb7620abc1729a13c78a2fb33ccaeb7d92f42936d929885324c81f2b7c985'
@@ -30,7 +33,10 @@ sha256sums=('995d44fef587ff5284497a47a95d71adbee0c13020d615e940ac928f180f5b77'
'c8bda5fb238fbebc5bf6ae4b7646e48b30a96b9060ced20d93c53c14ac3161f6'
'10b91c8dbc269ff1d8e3e8a1866926c309ff3912d191a05cd5724a3139776f32'
'e06af37ffa2203698594e0f58816b809feced9b2374927e13b85fd5c18fa3114'
- '5e184ca5fcbf5071050f23503bfd3391c4bc1ccc31453338791a3da3885b6085')
+ '5e184ca5fcbf5071050f23503bfd3391c4bc1ccc31453338791a3da3885b6085'
+ '2430303d6a0f48418532229aa5377e8848be762a8fdc790edeba30e6eec5214c'
+ '47ca88252c6b40f488f403f81c3eb1c1e5a5eed1dc353e31d53b5c815c433238'
+ 'ff4869ea16eb3d894b13a6ca6775906ce0feacf405a2ade63c4f052df6024769')
_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
# default is 'linux' substitute custom name here
@@ -46,6 +52,9 @@ prepare() {
patch -Np1 -i ../0002-kernel-5.8.patch
patch -Np1 -i ../0003-kernel-5.9.patch
patch -Np1 -i ../0004-kernel-5.10.patch
+ patch -Np1 -i ../0005-kernel-5.11.patch
+ patch -Np1 -i ../0006-kernel-5.14.patch
+ patch -Np1 -i ../0007-kernel-5.15.patch
cp -a kernel kernel-dkms
}