diff options
author | Malstrond | 2019-10-20 15:10:41 +0200 |
---|---|---|
committer | Malstrond | 2019-10-20 15:10:41 +0200 |
commit | 3175b50dfbcda924da1fd8a84a9093aadba942d7 (patch) | |
tree | c2379bcaf45fde00fb14c9566647393a5aaae60d | |
parent | 50f1c3bae099829c793bde9a1b33991456a2e7c9 (diff) | |
download | aur-3175b50dfbcda924da1fd8a84a9093aadba942d7.tar.gz |
Adjusted kernel module path to new directory used by Arch upstream
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = activdriver pkgdesc = Drivers for Promethean hardware pkgver = 5.18.12 - pkgrel = 0 + pkgrel = 1 url = https://support.prometheanworld.com/product/activdriver install = activdriver.install arch = x86_64 @@ -6,7 +6,7 @@ pkgname=activdriver pkgver=5.18.12 -pkgrel=0 +pkgrel=1 pkgdesc="Drivers for Promethean hardware" arch=('x86_64') url="https://support.prometheanworld.com/product/activdriver" @@ -59,8 +59,7 @@ package() { install -D usr/src/promethean/activlc/release/activlc "$pkgdir"/usr/bin/activlc # Set the module directory and install module - _extmoddir=ARCH - _moddir="/usr/lib/modules/extramodules-${_extmoddir}"/kernel/drivers/input/tablet/ + _moddir="/usr/lib/modules/$(</usr/src/linux/version)/extramodules/kernel/drivers/input/tablet" install -m644 -D usr/src/promethean/kernel/promethean.ko "$pkgdir${_moddir}"/promethean.ko find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; |