summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/tp_smapi/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD
index a6d06d042..7159a90e7 100644
--- a/libre/tp_smapi/PKGBUILD
+++ b/libre/tp_smapi/PKGBUILD
@@ -11,11 +11,11 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=5.8.3
+_basekernel=5.9.9
pkgname=tp_smapi
pkgver=0.43
-pkgrel=224
+pkgrel=254
pkgrel+=.parabola1.basekernel${_basekernel}
pkgdesc="Modules for ThinkPad's SMAPI functionality"
pkgdesc+=" (for linux-libre)"
@@ -48,10 +48,8 @@ package() {
local extradir=/usr/lib/modules/$(</usr/src/linux-libre/version)/extramodules
cd $pkgname
- # install kernel modules
find . -name "*.ko" -exec install -Dt "$pkgdir$extradir" {} +
-
- # compress kernel modules
+ find "$pkgdir" -name "*.ko" -exec strip --strip-debug {} +
find "$pkgdir" -name "*.ko" -exec xz {} +
# load module on startup