[arch-commits] Commit in acpi_call-lts/repos (2 files)

Andreas Radke andyrtr at archlinux.org
Fri May 7 12:48:34 UTC 2021


    Date: Friday, May 7, 2021 @ 12:48:33
  Author: andyrtr
Revision: 928595

archrelease: copy trunk to community-testing-x86_64

Added:
  acpi_call-lts/repos/community-testing-x86_64/
  acpi_call-lts/repos/community-testing-x86_64/PKGBUILD
    (from rev 928594, acpi_call-lts/trunk/PKGBUILD)

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

Copied: acpi_call-lts/repos/community-testing-x86_64/PKGBUILD (from rev 928594, acpi_call-lts/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-05-07 12:48:33 UTC (rev 928595)
@@ -0,0 +1,68 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: mortzu <me at mortzu.de>
+# Contributor: fnord0 <fnord0 at riseup.net>
+
+pkgname=acpi_call-lts
+pkgver=1.2.1
+pkgrel=48
+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')
+license=('GPL')
+makedepends=('linux-lts-headers' "acpi_call-dkms=$pkgver")
+conflicts=('acpi_call-dkms')
+provides=('acpi_call')
+
+build() {
+  _kernver=$(</usr/src/linux-lts/version)
+
+  fakeroot dkms build --dkmstree "$srcdir" -m acpi_call/$pkgver -k $_kernver
+}
+
+package() {
+  depends=(linux-lts)
+
+  _kernver=$(</usr/src/linux-lts/version)
+
+  install -Dt "$pkgdir/usr/lib/modules/$_kernver/extramodules" -m0644 \
+    acpi_call/${pkgver}/$_kernver/$CARCH/module/*
+
+  # compress each module individually
+  find "$pkgdir" -name '*.ko' -exec xz -T1 {} +
+
+  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"
+}
+
+# vim:set ts=2 sw=2 et:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+



More information about the arch-commits mailing list