From e1a2efc43fbed29226f35aa11262d7011e2c9578 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 5 Feb 2019 12:07:05 +0100 Subject: libre/acpi_call-lts: update to 4.19-lts basekernel --- libre/acpi_call-lts/PKGBUILD | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'libre/acpi_call-lts') diff --git a/libre/acpi_call-lts/PKGBUILD b/libre/acpi_call-lts/PKGBUILD index 3cfb2fc5e..60abfb5a2 100644 --- a/libre/acpi_call-lts/PKGBUILD +++ b/libre/acpi_call-lts/PKGBUILD @@ -5,17 +5,18 @@ # Contributor (Hyperbola): Márcio Silva # Maintainer: Omar Vega Ramos -_basekernel=4.14 -_archrel=69 -_parabolarel=1 +_basekernel=4.19 pkgname=acpi_call-lts pkgver=1.1.0 -pkgrel=${_archrel}.parabola${_parabolarel}.basekernel${_basekernel} +pkgrel=78 _extramodules=extramodules-${_basekernel}-lts -pkgdesc="A linux kernel module that enables calls to ACPI methods through /proc/acpi/call (built for the linux-libre-lts kernel package)" -arch=('i686' 'x86_64' 'armv7h') -url="http://github.com/mkottman/acpi_call" +pkgrel+=.parabola1.basekernel${_basekernel} +pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call' +pkgdesc+=' (built for the linux-libre-lts kernel package)' +arch=('x86_64') +arch+=('i686' 'armv7h') +url='https://github.com/mkottman/acpi_call' license=('GPL') # Generic (you shouldn't have to modify any of these variables) @@ -24,15 +25,12 @@ 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}") makedepends+=('libelf') -replaces=("${pkgname%-*}-libre-lts" "${pkgname%-*}-parabola-lts" "${pkgname}-parabola") -conflicts=("${pkgname%-*}-libre-lts" "${pkgname%-*}-parabola-lts" "${pkgname}-parabola") -provides=("acpi_call") - -source=("${pkgname%-*}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +provides=('acpi_call') +source=("acpi_call-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0') prepare() { - cd "${pkgname%-*}-${pkgver}" + cd acpi_call-${pkgver} # Fix build with Linux-libre >= 3.17-gnu sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c @@ -41,7 +39,7 @@ prepare() { } build() { - cd "${pkgname%-*}-${pkgver}" + cd ${pkgname%-*}-${pkgver} _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" @@ -49,11 +47,10 @@ build() { } package() { - cd "${pkgname%-*}-$pkgver" + cd ${pkgname%-*}-${pkgver} - # Actually install install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d} - install -m 644 ${pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules} + install -m 644 ${pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/ gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/${pkgname%-*}.ko echo ${pkgname%-*} > "${pkgdir}"/usr/lib/modules-load.d/${pkgname}.conf @@ -61,4 +58,4 @@ package() { cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/${pkgname}/ } -# vim:set ts=2 sw=2 et: +# vim: ts=2 sw=2 et: -- cgit v1.2.2