summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-lts
diff options
context:
space:
mode:
Diffstat (limited to 'libre/tp_smapi-lts')
-rw-r--r--libre/tp_smapi-lts/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD
index 3befa1ba4..469f7a601 100644
--- a/libre/tp_smapi-lts/PKGBUILD
+++ b/libre/tp_smapi-lts/PKGBUILD
@@ -11,7 +11,7 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
#_basekernel=4.19.91_gnu-1
-_basekernel=4.19.91
+_basekernel=4.19.97
pkgname=tp_smapi-lts
_pkgname=tp-smapi
@@ -24,7 +24,6 @@ arch=('x86_64')
arch+=('i686')
url='https://github.com/evgeni/tp_smapi'
license=('GPL')
-depends=(linux-libre-lts=${_basekernel%-*})
makedepends=(linux-libre-lts-headers=${_basekernel%-*} git libelf)
_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43
source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
@@ -40,10 +39,13 @@ build() {
# https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_):
# Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules
+
make HDAPS=1 KVER="$(</usr/src/linux-libre-lts/version)" EXTRA_CFLAGS=
}
package() {
+ depends=(linux-libre-lts=${_basekernel%-*})
+
local extradir=/usr/lib/modules/$(</usr/src/linux-libre-lts/version)/extramodules
cd tp_smapi