diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-10-26 13:44:19 +0200 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-10-26 13:44:19 +0200 |
commit | f75a3f496cb615af095e1dca2a3e1b9a24840b40 (patch) | |
tree | c0c5fc53d2cf9095c437fa4db9ec432f9a650f19 /libre/acpi_call | |
parent | 54947c3d0a88f54e5beaea4e0afb222e129f8326 (diff) | |
download | abslibre-f75a3f496cb615af095e1dca2a3e1b9a24840b40.tar.gz abslibre-f75a3f496cb615af095e1dca2a3e1b9a24840b40.tar.bz2 abslibre-f75a3f496cb615af095e1dca2a3e1b9a24840b40.zip |
libre/acpi_call: rebuilt
Diffstat (limited to 'libre/acpi_call')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD index 0674c4d98..c9c75eed5 100644 --- a/libre/acpi_call/PKGBUILD +++ b/libre/acpi_call/PKGBUILD @@ -5,7 +5,7 @@ # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_basekernel=5.2.5_gnu-1 +_basekernel=5.3.7_gnu-1 pkgbase=acpi_call pkgname=(acpi_call acpi_call-dkms) @@ -16,7 +16,7 @@ pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/ pkgdesc+=' (built for the linux-libre kernel package)' url='https://github.com/mkottman/acpi_call' arch=('x86_64') -arch+=('i686' 'armv7h') +arch+=('i686') license=('GPL') depends=(linux-libre=${_basekernel%-*}) makedepends=(linux-libre-headers=${_basekernel%-*} git libelf) @@ -38,15 +38,16 @@ prepare() { build() { cd $pkgbase-$pkgver - make KVERSION="$(cat /usr/lib/modules/$_extramodules/version)" + make KVERSION="$(</usr/src/linux-libre/version)" } package_acpi_call() { cd $pkgbase-$pkgver - install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko + _extradir="/usr/lib/modules/$(</usr/src/linux-libre/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" + echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf" mkdir -p "$pkgdir/usr/share/acpi_call" cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support |