summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-24 18:27:35 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-24 18:27:35 +0100
commit071d34ea7cd2330d781fb26eec82bff052509fbe (patch)
treef0bed1d2723d2b85ca6f9f91f92b50fed2da6dc1 /libre
parentf7e232ce9690ec2dbe733b4b31076ddd9ad4e752 (diff)
libre/tp_smapi: rebuilt
Diffstat (limited to 'libre')
-rw-r--r--libre/tp_smapi/PKGBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD
index 94914daf0..f65c30df6 100644
--- a/libre/tp_smapi/PKGBUILD
+++ b/libre/tp_smapi/PKGBUILD
@@ -10,26 +10,20 @@
# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=4.20
-_parabolarel=1
+_basekernel="$(pacman -Sp --print-format '%v' linux-libre)"
pkgname=tp_smapi
pkgver=0.43
-pkgrel=86
-pkgrel+=.parabola${_parabolarel}.basekernel${_basekernel}
+pkgrel=89
+pkgrel+=.parabola1.basekernel${_basekernel%_*}
pkgdesc="Modules for ThinkPad's SMAPI functionality"
pkgdesc+=" (built for the linux-libre kernel package)"
arch=('x86_64')
arch+=('i686')
url='https://github.com/evgeni/tp_smapi'
license=('GPL')
-
-# Generic (you shouldn't have to modify any of these variables)
-_toohigh=$(IFS=. read a b <<<$_basekernel; echo $a.$((b+1)))
-depends=("linux-libre>=${_basekernel}" "linux-libre<${_toohigh}")
-makedepends=("linux-libre-headers>=${_basekernel}" "linux-libre-headers<${_toohigh}" 'git')
-makedepends+=('libelf')
-
+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")