summaryrefslogtreecommitdiff
path: root/libre/acpi_call-lts
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-24 18:27:42 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-24 18:27:42 +0100
commitbc78acc2bbcdc7171b6a25a2a6291cbd6f0e959f (patch)
treeeb2ba3d0bed339dd7f3569d6d8747a8e83f07a36 /libre/acpi_call-lts
parent071d34ea7cd2330d781fb26eec82bff052509fbe (diff)
downloadabslibre-bc78acc2bbcdc7171b6a25a2a6291cbd6f0e959f.tar.gz
abslibre-bc78acc2bbcdc7171b6a25a2a6291cbd6f0e959f.tar.bz2
abslibre-bc78acc2bbcdc7171b6a25a2a6291cbd6f0e959f.zip
libre/acpi_call-lts: rebuilt
Diffstat (limited to 'libre/acpi_call-lts')
-rw-r--r--libre/acpi_call-lts/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
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 <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_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() {