summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2022-01-18 14:26:24 +0100
committerAndreas Grapentin <andreas@grapentin.org>2022-01-18 14:26:24 +0100
commit66fe924bf6bbc6066a8d9f61359526af83c3024b (patch)
tree32f5017339fe5a173adb42919bb3fcbb2f02a77a
parenta8df7b26f4c25c9e7e8e6bd80eae8de4fcecaa87 (diff)
libre/acpi_call-dkms: rebuilt
-rw-r--r--libre/acpi_call-dkms/PKGBUILD40
1 files changed, 16 insertions, 24 deletions
diff --git a/libre/acpi_call-dkms/PKGBUILD b/libre/acpi_call-dkms/PKGBUILD
index 206a4dfa0..93200ac3a 100644
--- a/libre/acpi_call-dkms/PKGBUILD
+++ b/libre/acpi_call-dkms/PKGBUILD
@@ -6,38 +6,30 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_basekernel=5.12.6
+_basekernel=5.15.12
pkgname=acpi_call-dkms
-pkgver=1.2.1
-pkgrel=4
+_tag='9f1c0b5d046bdfdec769809435257647fd475473' # git rev-parse v${_tag_name}
+pkgver=1.2.2
+pkgrel=1
pkgrel+=.parabola1.basekernel${_basekernel}
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call - module sources'
pkgdesc+=' (for linux-libre)'
-url=https://github.com/nix-community/acpi_call
-arch=(x86_64 i686)
-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=('x86_64' 'i686' 'armv7h')
+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//'
-}
-
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/
}