diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-08-04 16:15:10 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-08-04 16:18:45 -0400 |
commit | 0282a519bb6cd98bc1e6e49232e21625ac279343 (patch) | |
tree | 05fd5a377ad941a43a7b503b9734dd4cf4738079 /libre/acpi_call | |
parent | 58ccf2d603cec8ab39264251a356424c8cf8c5af (diff) | |
download | abslibre-0282a519bb6cd98bc1e6e49232e21625ac279343.tar.gz abslibre-0282a519bb6cd98bc1e6e49232e21625ac279343.tar.bz2 abslibre-0282a519bb6cd98bc1e6e49232e21625ac279343.zip |
[acpi_call][acpi_call-lts][acpi_call-dkms]: rebuild for current kernels (5.7.10 , 5.4.51)
Diffstat (limited to 'libre/acpi_call')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD index 0625cb176..dfe92063a 100644 --- a/libre/acpi_call/PKGBUILD +++ b/libre/acpi_call/PKGBUILD @@ -5,14 +5,15 @@ # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_basekernel=5.5.13-1 + +_basekernel=5.7.10-1 pkgname=acpi_call pkgver=1.1.0 -pkgrel=301 +pkgrel=336 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 kernel package)' +pkgdesc+=' (for linux-libre)' url='https://github.com/mkottman/acpi_call' arch=('x86_64') arch+=('i686') @@ -21,9 +22,10 @@ makedepends=("linux-libre-headers=${_basekernel%-*}" "acpi_call-dkms=$pkgver") conflicts=('acpi_call-dkms') build() { + _kernver=$(</usr/src/linux-libre/version) - dkms build --dkmstree "$srcdir" -m acpi_call/$pkgver -k $_kernver + fakeroot dkms build --dkmstree "$srcdir" -m acpi_call/$pkgver -k $_kernver } package() { @@ -36,6 +38,9 @@ package() { # compress each module individually find "$pkgdir" -name '*.ko' -exec xz -T1 {} + -} -# vim:set ts=2 sw=2 et: + echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" + + mkdir -p "$pkgdir/usr/share" + cp -a /usr/share/acpi_call "$pkgdir/usr/share/$pkgname" +} |