From bc78acc2bbcdc7171b6a25a2a6291cbd6f0e959f Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 24 Feb 2019 18:27:42 +0100 Subject: libre/acpi_call-lts: rebuilt --- libre/acpi_call-lts/PKGBUILD | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'libre/acpi_call-lts') diff --git a/libre/acpi_call-lts/PKGBUILD b/libre/acpi_call-lts/PKGBUILD index 60abfb5a2..1c826725b 100644 --- a/libre/acpi_call-lts/PKGBUILD +++ b/libre/acpi_call-lts/PKGBUILD @@ -5,28 +5,23 @@ # Contributor (Hyperbola): Márcio Silva # Maintainer: Omar Vega Ramos -_basekernel=4.19 +_basekernel="$(pacman -Sp --print-format '%v' linux-libre-lts)" pkgname=acpi_call-lts pkgver=1.1.0 -pkgrel=78 -_extramodules=extramodules-${_basekernel}-lts -pkgrel+=.parabola1.basekernel${_basekernel} +pkgrel=79 +_extramodules=extramodules-${_basekernel%.*}-lts +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) -_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}") -makedepends+=('libelf') - +depends=(linux-libre-lts=${_basekernel%-*}) +makedepends=(linux-libre-lts-headers=${_basekernel%-*} libelf) provides=('acpi_call') -source=("acpi_call-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz") sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0') prepare() { -- cgit v1.2.3