diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-10-26 13:45:10 +0200 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-10-26 13:45:10 +0200 |
commit | 821446281bf0f92fba5c2bfcdd9d2cbed9f58710 (patch) | |
tree | 0b52db7950e3876d949adee6a96b6d45fcf604e4 /libre/bbswitch | |
parent | 0e88ccfcca4613b52dc3e20f49a8727037cfe1af (diff) | |
download | abslibre-821446281bf0f92fba5c2bfcdd9d2cbed9f58710.tar.gz abslibre-821446281bf0f92fba5c2bfcdd9d2cbed9f58710.tar.bz2 abslibre-821446281bf0f92fba5c2bfcdd9d2cbed9f58710.zip |
libre/bbswitch: rebuilt
Diffstat (limited to 'libre/bbswitch')
-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 {} + } |