From 071d34ea7cd2330d781fb26eec82bff052509fbe Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 24 Feb 2019 18:27:35 +0100 Subject: libre/tp_smapi: rebuilt --- libre/tp_smapi/PKGBUILD | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'libre/tp_smapi/PKGBUILD') 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 # Maintainer: Omar Vega Ramos -_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") -- cgit v1.2.3