[arch-commits] Commit in acpi_call-dkms/trunk (PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Fri Dec 3 14:27:44 UTC 2021


    Date: Friday, December 3, 2021 @ 14:27:44
  Author: eworm
Revision: 1064800

upgpkg: acpi_call-dkms 1.2.2-1: new upstream release

Though this does not bring any functional change... The only important fix
was cherry-picked already.

Modified:
  acpi_call-dkms/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++------------------------------
 1 file changed, 15 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-03 14:25:19 UTC (rev 1064799)
+++ PKGBUILD	2021-12-03 14:27:44 UTC (rev 1064800)
@@ -3,41 +3,26 @@
 # Contributor: fnord0 <fnord0 at riseup.net>
 
 pkgname=acpi_call-dkms
-pkgver=1.2.1
-pkgrel=5
+_tag='9f1c0b5d046bdfdec769809435257647fd475473' # git rev-parse v${_tag_name}
+pkgver=1.2.2
+pkgrel=1
 pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call - module sources'
-url=https://github.com/nix-community/acpi_call
-arch=(any)
-license=(GPL)
-depends=(dkms)
-makedepends=(git)
-provides=(acpi_call=${pkgver}-${pkgrel})
-conflicts=(acpi_call)
-_tag=3a28aabfa337d59df91cc04c85b250da7f7cadea
-source=(
-  git+https://github.com/nix-community/acpi_call.git#tag=${_tag}
-  dkms.conf
-)
+url='https://github.com/nix-community/acpi_call'
+arch=('any')
+license=('GPL')
+depends=('dkms')
+makedepends=('git')
+provides=("acpi_call=${pkgver}-${pkgrel}")
+conflicts=('acpi_call')
+source=("git+https://github.com/nix-community/acpi_call.git#tag=${_tag}"
+        'dkms.conf')
 b2sums=('SKIP'
         '504da1102e778fe54368e990408dbef02f5b2ce91f683d170f3d6a1a2f9349d00d61dcbddd0262a8dfc958ea0964135ba58d8dd88ac06bd10b5e13b90f11faef')
 
-pkgver() {
-  cd acpi_call
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd acpi_call
-
-  # Fix for 5.13+ kernels
-  git cherry-pick -n '48011f82726c263f49a2b9ca3d9f674bdb4cfd22'
-}
-
 package() {
-  install -Dm 644 acpi_call/{Makefile,acpi_call.c} dkms.conf -t "${pkgdir}"/usr/src/acpi_call-${pkgver}
-  echo acpi_call | install -Dm 644 /dev/stdin "${pkgdir}"/usr/lib/modules-load.d/acpi_call.conf
-  install -dm 755 "${pkgdir}"/usr/share/acpi_call
+  install -D -m0644 acpi_call/{Makefile,acpi_call.c} dkms.conf -t "${pkgdir}"/usr/src/acpi_call-${pkgver}
+  echo acpi_call | install -D -m0644 /dev/stdin "${pkgdir}"/usr/lib/modules-load.d/acpi_call.conf
+  install -d -m0755 "${pkgdir}"/usr/share/acpi_call
   cp -dr --no-preserve=ownership acpi_call/{examples,support} "${pkgdir}"/usr/share/acpi_call/
 }
 



More information about the arch-commits mailing list