diff options
Diffstat (limited to 'libre/bbswitch/PKGBUILD')
-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 7ca89f17f..a7e8d8d97 100644 --- a/libre/bbswitch/PKGBUILD +++ b/libre/bbswitch/PKGBUILD @@ -5,7 +5,7 @@ # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_basekernel=5.2.5_gnu-1 +_basekernel=5.3.7_gnu-1 pkgbase=bbswitch pkgname=(bbswitch bbswitch-dkms) @@ -26,13 +26,13 @@ sha256sums=('76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477') build() { cd ${pkgbase}-${pkgver} - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - make KDIR=/lib/modules/${_kernver}/build + make KDIR=/usr/src/linux-libre } package_bbswitch() { cd ${pkgbase}-${pkgver} - install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 *.ko + _extradir="/usr/lib/modules/$(</usr/src/linux-libre/version)/extramodules" + install -Dt "${pkgdir}${_extradir}" -m644 *.ko find "${pkgdir}" -name '*.ko' -exec xz {} + } |