Date: Sunday, June 7, 2020 @ 13:42:04 Author: heftig Revision: 640050
0.43-212: linux 5.7.1.arch1-1 Modified: tp_smapi/trunk/PKGBUILD ----------+ PKGBUILD | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-07 13:41:45 UTC (rev 640049) +++ PKGBUILD 2020-06-07 13:42:04 UTC (rev 640050) @@ -9,7 +9,7 @@ pkgname=tp_smapi pkgver=0.43 -pkgrel=211 +pkgrel=212 pkgdesc="Modules for ThinkPad's SMAPI functionality" arch=('x86_64') url='https://github.com/evgeni/tp_smapi' @@ -39,10 +39,8 @@ local extradir=/usr/lib/modules/$(</usr/src/linux/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