Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbarnabedikartola committed Jan 2, 2024
1 parent 6ffdf8f commit aa92e00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Maintainer: Philip Müller <philm[at]manjaro[dot]org>

_linuxprefix=linux-xanmod
_extramodules=$(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev)
_extramodules=$(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev)
pkgname=$_linuxprefix-bbswitch
_pkgname=bbswitch
pkgver=0.8
pkgrel=66810
pkgrel=66910
pkgdesc="kernel module allowing to switch dedicated graphics card on Optimus laptops"
arch=('x86_64')
url="http://github.com/Bumblebee-Project/bbswitch"
Expand All @@ -29,7 +29,7 @@ prepare() {
}

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

cd ${_pkgname}-${pkgver}
# KDIR is necessary even when cleaning
Expand Down
8 changes: 4 additions & 4 deletions bbswitch.install
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev)
EXTRAMODULES=$(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev)

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

post_upgrade() {
depmod $(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev)
depmod $(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev)
}

post_remove() {
depmod $(find /usr/lib/modules -type d -iname 6.6.8*xanmod* | rev | cut -d "/" -f1 | rev)
depmod $(find /usr/lib/modules -type d -iname 6.6.9*xanmod* | rev | cut -d "/" -f1 | rev)
}

0 comments on commit aa92e00

Please sign in to comment.