summaryrefslogtreecommitdiff
path: root/libre/bbswitch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bbswitch')
-rw-r--r--libre/bbswitch/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/bbswitch/PKGBUILD b/libre/bbswitch/PKGBUILD
index a7e8d8d97..b6a932c4d 100644
--- a/libre/bbswitch/PKGBUILD
+++ b/libre/bbswitch/PKGBUILD
@@ -5,22 +5,20 @@
# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=5.3.7_gnu-1
+_basekernel=5.4.12-1
pkgbase=bbswitch
pkgname=(bbswitch bbswitch-dkms)
pkgver=0.8
pkgrel=241
-pkgrel+=.parabola1.basekernel${_basekernel%_*}
+pkgrel+=.parabola1.basekernel${_basekernel%-*}
pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops"
pkgdesc+=" (built for the linux-libre kernel package)"
arch=('x86_64')
arch+=('i686')
url="http://github.com/Bumblebee-Project/bbswitch"
license=('GPL')
-depends=(linux-libre=${_basekernel%-*})
makedepends=(linux-libre-headers=${_basekernel%-*} git libelf)
-_extramodules=extramodules
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
sha256sums=('76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477')
@@ -30,6 +28,8 @@ build() {
}
package_bbswitch() {
+ depends=(linux-libre=${_basekernel%-*})
+
cd ${pkgbase}-${pkgver}
_extradir="/usr/lib/modules/$(</usr/src/linux-libre/version)/extramodules"
install -Dt "${pkgdir}${_extradir}" -m644 *.ko