summaryrefslogtreecommitdiff
path: root/libre/acpi_call
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-01-26 22:39:56 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-01-26 22:40:05 +0100
commit9888f6f723bea6ed033349218fa61fd006a98102 (patch)
tree3bdfcb850ba653c1a53edf26f5339b15ac06fc62 /libre/acpi_call
parentbe170432fbf0801d105b7251e4c2d717eeb6bd6c (diff)
downloadabslibre-9888f6f723bea6ed033349218fa61fd006a98102.tar.gz
abslibre-9888f6f723bea6ed033349218fa61fd006a98102.tar.bz2
abslibre-9888f6f723bea6ed033349218fa61fd006a98102.zip
libre/acpi_call: rebuilt for linux-libre 4.20
Diffstat (limited to 'libre/acpi_call')
-rw-r--r--libre/acpi_call/PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD
index cc8a01307..edf28df36 100644
--- a/libre/acpi_call/PKGBUILD
+++ b/libre/acpi_call/PKGBUILD
@@ -1,21 +1,23 @@
-# Maintainer (Arch): Maxime Gauduin <alucryd@gmail.com>
+# Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org>
# Contributor (Arch): mortzu <me@mortzu.de>
# Contributor (Arch): fnord0 <fnord0@riseup.net>
# Contributor (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=4.19
-_archrel=171
+_basekernel=4.20
_parabolarel=1
pkgbase=acpi_call
pkgname=(acpi_call acpi_call-dkms)
pkgver=1.1.0
-pkgrel=${_archrel}.parabola${_parabolarel}.basekernel${_basekernel}
-pkgdesc="A linux kernel module that enables calls to ACPI methods through /proc/acpi/call (built for the linux-libre kernel package)"
-arch=('i686' 'x86_64' 'armv7h')
-url="http://github.com/mkottman/${pkgbase}"
+pkgrel=188
+pkgrel+=.parabola${_parabolarel}.basekernel${_basekernel}
+pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
+pkgdesc+=' (built for the linux-libre kernel package)'
+url='https://github.com/mkottman/acpi_call'
+arch=('x86_64')
+arch+=('i686' 'armv7h')
license=('GPL')
# Generic (you shouldn't have to modify any of these variables)
@@ -25,7 +27,7 @@ makedepends+=('libelf')
_extramodules=extramodules
source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
- 'dkms.conf')
+ dkms.conf)
sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0'
'32e6ea6523b13132c6c7838bba7fbf3d040ba2d35a892c2c356245612720df8a')
@@ -46,8 +48,6 @@ build() {
package_acpi_call() {
depends=("linux-libre>=${_basekernel}" "linux-libre<${_toohigh}")
- replaces=("${pkgbase}-libre" "${pkgbase}-parabola")
- conflicts=("${pkgbase}-libre" "${pkgbase}-parabola")
cd $pkgbase-$pkgver
install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko
@@ -60,17 +60,17 @@ package_acpi_call() {
}
package_acpi_call-dkms() {
- depends=(dkms)
- provides=("acpi_call=$pkgver-$_archrel")
- conflicts=(acpi_call)
+ depends=(dkms)
+ provides=("acpi_call=$pkgver-${pkgrel%%.*}")
+ conflicts=(acpi_call)
- cd $pkgbase-$pkgver
- install -Dt "$pkgdir/usr/src/$pkgbase-$pkgver" -m644 Makefile acpi_call.c ../dkms.conf
+ cd $pkgbase-$pkgver
+ install -Dt "$pkgdir/usr/src/$pkgbase-$pkgver" -m644 Makefile acpi_call.c ../dkms.conf
- echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
+ echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
- mkdir -p "$pkgdir/usr/share/acpi_call"
- cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
+ mkdir -p "$pkgdir/usr/share/acpi_call"
+ cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
}
# vim:set ts=2 sw=2 et: