[arch-commits] Commit in acpi_call/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Oct 11 19:19:39 UTC 2019
Date: Friday, October 11, 2019 @ 19:19:39
Author: heftig
Revision: 515104
1.1.0-253: kernel 5.3.6.arch1-1; removal of extramodules-ARCH
Modified:
acpi_call/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-11 19:19:38 UTC (rev 515103)
+++ PKGBUILD 2019-10-11 19:19:39 UTC (rev 515104)
@@ -5,7 +5,7 @@
pkgbase=acpi_call
pkgname=(acpi_call acpi_call-dkms)
pkgver=1.1.0
-pkgrel=252
+pkgrel=253
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
url='https://github.com/mkottman/acpi_call'
arch=('x86_64')
@@ -12,7 +12,6 @@
license=('GPL')
depends=('linux')
makedepends=('linux-headers')
-_extramodules=extramodules-ARCH
source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz"
dkms.conf)
sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0'
@@ -30,12 +29,13 @@
build() {
cd $pkgbase-$pkgver
- make KVERSION="$(cat /usr/lib/modules/$_extramodules/version)"
+ make KVERSION="$(</usr/src/linux/version)"
}
package_acpi_call() {
cd $pkgbase-$pkgver
- install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko
+ _extradir="/usr/lib/modules/$(</usr/src/linux/version)/extramodules"
+ install -Dt "$pkgdir$_extradir" -m644 *.ko
find "$pkgdir" -name '*.ko' -exec xz {} +
echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
More information about the arch-commits
mailing list