Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed Oct 11, 2023
1 parent 2d9c754 commit 0f80b97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# Maintainer : Thomas Baechler <thomas@archlinux.org>

_linuxprefix=linux-xanmod-lts
_extramodules=$(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev)
_extramodules=$(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev)

pkgname=$_linuxprefix-nvidia-470xx
pkgdesc="NVIDIA drivers for linux"
pkgver=470.199.02
pkgrel=61551
pkgrel=61571
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom')
Expand All @@ -33,7 +33,7 @@ prepare() {
}

build() {
_kernver=$(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev)
_kernver=$(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev)

cd "${_pkg}"
make -C kernel SYSSRC=/usr/lib/modules/"${_kernver}/build" module
Expand Down
4 changes: 2 additions & 2 deletions nvidia.install
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev)
EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev)

post_install() {
depmod $(find /usr/lib/modules -type d -iname 6.1.55*xanmod* | rev | cut -d "/" -f1 | rev)
depmod $(find /usr/lib/modules -type d -iname 6.1.57*xanmod* | rev | cut -d "/" -f1 | rev)
}

post_upgrade() {
Expand Down

0 comments on commit 0f80b97

Please sign in to comment.