From 32c2b3990b386355aceb2477d57185234dd92154 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 24 Feb 2019 18:27:48 +0100 Subject: libre/tp_smapi-lts: rebuilt --- libre/tp_smapi-lts/PKGBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'libre') diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD index 1845f316e..029e6b222 100644 --- a/libre/tp_smapi-lts/PKGBUILD +++ b/libre/tp_smapi-lts/PKGBUILD @@ -10,28 +10,22 @@ # Contributor (Hyperbola): Márcio Silva # Maintainer: Omar Vega Ramos -_basekernel=4.19 +_basekernel="$(pacman -Sp --print-format '%v' linux-libre-lts)" pkgname=tp_smapi-lts _pkgname=tp-smapi pkgver=0.43 -_extradir=/usr/lib/modules/extramodules-${_basekernel}-lts -pkgrel=78 -pkgrel+=.parabola1.basekernel${_basekernel} +_extradir=/usr/lib/modules/extramodules-${_basekernel%.*}-lts +pkgrel=79 +pkgrel+=.parabola1.basekernel${_basekernel%_*} pkgdesc="Modules for ThinkPad's SMAPI functionality" pkgdesc+="(built for the linux-libre-lts 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-lts>=${_basekernel}" "linux-libre-lts<${_toohigh}") -makedepends=("linux-libre-lts-headers>=${_basekernel}" "linux-libre-lts-headers<${_toohigh}" "linux-libre-lts>=${_basekernel}" "linux-libre-lts<${_toohigh}" 'git') -makedepends+=('libelf') - -provides=('tp-smapi') +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") sha256sums=('SKIP') -- cgit v1.2.2