diff options
author | oaken-source <oaken-source@parabola.nu> | 2020-01-30 19:26:38 +0100 |
---|---|---|
committer | oaken-source <oaken-source@parabola.nu> | 2020-01-30 19:26:38 +0100 |
commit | bd647d629eb90de37e3ece7eb7e0da30cd523025 (patch) | |
tree | f621267231a59ef924d9fbdaa71a36dff5883232 /libre | |
parent | 7e3e875d6f75a5a1a25dabd5df2ac8b10c563d9c (diff) | |
download | abslibre-bd647d629eb90de37e3ece7eb7e0da30cd523025.tar.gz abslibre-bd647d629eb90de37e3ece7eb7e0da30cd523025.tar.bz2 abslibre-bd647d629eb90de37e3ece7eb7e0da30cd523025.zip |
libre/bbswitch: rebuilt against new kernel
Diffstat (limited to 'libre')
-rw-r--r-- | libre/bbswitch/PKGBUILD | 8 |
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 |