summaryrefslogtreecommitdiff
path: root/libre/tp_smapi
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-10-26 13:44:49 +0200
committerAndreas Grapentin <andreas@grapentin.org>2019-10-26 13:44:49 +0200
commitcfb859448f2259066cd4e2f0f5de2c841cc306c3 (patch)
treeaad56691f4c18d8572fb204953f2ae83363f7818 /libre/tp_smapi
parent3a8e2d76593d79e21b650e9a87603afe56c5661d (diff)
downloadabslibre-cfb859448f2259066cd4e2f0f5de2c841cc306c3.tar.gz
abslibre-cfb859448f2259066cd4e2f0f5de2c841cc306c3.tar.bz2
abslibre-cfb859448f2259066cd4e2f0f5de2c841cc306c3.zip
libre/tp_smapi: rebuilt
Diffstat (limited to 'libre/tp_smapi')
-rw-r--r--libre/tp_smapi/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD
index ee688fe0b..53b794c5e 100644
--- a/libre/tp_smapi/PKGBUILD
+++ b/libre/tp_smapi/PKGBUILD
@@ -10,7 +10,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
pkgname=tp_smapi
pkgver=0.43
@@ -24,7 +24,6 @@ url='https://github.com/evgeni/tp_smapi'
license=('GPL')
depends=(linux-libre=${_basekernel%-*})
makedepends=(linux-libre-headers=${_basekernel%-*} git libelf)
-_extradir=/usr/lib/modules/extramodules
_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43
source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit")
sha256sums=('SKIP')
@@ -40,14 +39,15 @@ 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="$(<$_extradir/version)" EXTRA_CFLAGS=
+ make HDAPS=1 KVER="$(</usr/src/linux-libre/version)" EXTRA_CFLAGS=
}
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" {} +
+ find . -name "*.ko" -exec install -Dt "$pkgdir$extradir" {} +
# compress kernel modules
find "$pkgdir" -name "*.ko" -exec xz {} +