From 34759e3e93a83815d77a78a883f2583335661b0e Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sat, 26 Jan 2019 22:46:45 +0100 Subject: libre/tp_smapi: rebuilt against linux-libre 4.20 --- libre/tp_smapi/PKGBUILD | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD index 1963f6c4a..c2f2f3284 100644 --- a/libre/tp_smapi/PKGBUILD +++ b/libre/tp_smapi/PKGBUILD @@ -10,29 +10,28 @@ # Contributor (Hyperbola): Márcio Silva # Maintainer: Omar Vega Ramos -_basekernel=4.19 -_archrel=65 +_basekernel=4.20 _parabolarel=1 pkgname=tp_smapi pkgver=0.43 -pkgrel=${_archrel}.parabola${_parabolarel}.basekernel${_basekernel} -pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre kernel package)" -arch=('i686' 'x86_64') +pkgrel=82 +pkgrel+=.parabola${_parabolarel}.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=("linux-libre-headers>=${_basekernel}" "linux-libre-headers<${_toohigh}" 'git') makedepends+=('libelf') -replaces=("${pkgname}-libre" "${pkgname}-parabola") -conflicts=("${pkgname}-libre" "${pkgname}-parabola") - -_extramodules=extramodules -_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43 +_extradir=/usr/lib/modules/extramodules +_commit=a63729ab30d85430048f65c37f29188ab484cd52 # tags/tp-smapi/0.43 source=("git+https://github.com/evgeni/tp_smapi#commit=$_commit") sha256sums=('SKIP') @@ -47,19 +46,18 @@ 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="$( "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" + echo tp_smapi | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" } -- cgit v1.2.3