[arch-commits] Commit in acpi_call/repos/community-staging-x86_64 (4 files)
Jan Steffens
heftig at archlinux.org
Sat May 11 16:12:41 UTC 2019
Date: Saturday, May 11, 2019 @ 16:12:40
Author: heftig
Revision: 465426
archrelease: copy trunk to community-staging-x86_64
Added:
acpi_call/repos/community-staging-x86_64/PKGBUILD
(from rev 465419, acpi_call/trunk/PKGBUILD)
acpi_call/repos/community-staging-x86_64/dkms.conf
(from rev 465420, acpi_call/trunk/dkms.conf)
Deleted:
acpi_call/repos/community-staging-x86_64/PKGBUILD
acpi_call/repos/community-staging-x86_64/dkms.conf
-----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------
dkms.conf | 18 ++++----
2 files changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-11 16:12:38 UTC (rev 465425)
+++ PKGBUILD 2019-05-11 16:12:40 UTC (rev 465426)
@@ -1,61 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: mortzu <me at mortzu.de>
-# Contributor: fnord0 <fnord0 at riseup.net>
-
-pkgbase=acpi_call
-pkgname=(acpi_call acpi_call-dkms)
-pkgver=1.1.0
-pkgrel=212
-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')
-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'
- '32e6ea6523b13132c6c7838bba7fbf3d040ba2d35a892c2c356245612720df8a')
-
-prepare() {
- cd $pkgbase-$pkgver
-
- # Fix build with Linux >= 3.17
- sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
-
- # Fix build with Linux >= 4.12
- sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
-}
-
-build() {
- cd $pkgbase-$pkgver
- make KVERSION="$(cat /usr/lib/modules/$_extramodules/version)"
-}
-
-package_acpi_call() {
- cd $pkgbase-$pkgver
- install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko
- find "$pkgdir" -name '*.ko' -exec xz {} +
-
- echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
-
- mkdir -p "$pkgdir/usr/share/acpi_call"
- cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
-}
-
-package_acpi_call-dkms() {
- depends=(dkms)
- provides=("acpi_call=$pkgver-$pkgrel")
- conflicts=(acpi_call)
-
- cd $pkgbase-$pkgver
- install -Dt "$pkgdir/usr/src/$pkgbase-$pkgver" -m644 Makefile acpi_call.c ../dkms.conf
-
- echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
-
- mkdir -p "$pkgdir/usr/share/acpi_call"
- cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
-}
-
-# vim:set ts=2 sw=2 et:
Copied: acpi_call/repos/community-staging-x86_64/PKGBUILD (from rev 465419, acpi_call/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-11 16:12:40 UTC (rev 465426)
@@ -0,0 +1,61 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: mortzu <me at mortzu.de>
+# Contributor: fnord0 <fnord0 at riseup.net>
+
+pkgbase=acpi_call
+pkgname=(acpi_call acpi_call-dkms)
+pkgver=1.1.0
+pkgrel=213
+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')
+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'
+ '32e6ea6523b13132c6c7838bba7fbf3d040ba2d35a892c2c356245612720df8a')
+
+prepare() {
+ cd $pkgbase-$pkgver
+
+ # Fix build with Linux >= 3.17
+ sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+
+ # Fix build with Linux >= 4.12
+ sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ make KVERSION="$(cat /usr/lib/modules/$_extramodules/version)"
+}
+
+package_acpi_call() {
+ cd $pkgbase-$pkgver
+ install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko
+ find "$pkgdir" -name '*.ko' -exec xz {} +
+
+ echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
+
+ mkdir -p "$pkgdir/usr/share/acpi_call"
+ cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
+}
+
+package_acpi_call-dkms() {
+ depends=(dkms)
+ provides=("acpi_call=$pkgver-$pkgrel")
+ conflicts=(acpi_call)
+
+ cd $pkgbase-$pkgver
+ install -Dt "$pkgdir/usr/src/$pkgbase-$pkgver" -m644 Makefile acpi_call.c ../dkms.conf
+
+ echo acpi_call | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/acpi_call.conf"
+
+ mkdir -p "$pkgdir/usr/share/acpi_call"
+ cp -t "$pkgdir/usr/share/acpi_call" -dr --no-preserve=ownership examples support
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: dkms.conf
===================================================================
--- dkms.conf 2019-05-11 16:12:38 UTC (rev 465425)
+++ dkms.conf 2019-05-11 16:12:40 UTC (rev 465426)
@@ -1,9 +0,0 @@
-PACKAGE_NAME="acpi_call"
-PACKAGE_VERSION="#MODULE_VERSION#"
-AUTOINSTALL="yes"
-
-MAKE[0]="make KVERSION=$kernelver"
-CLEAN="make clean"
-
-BUILT_MODULE_NAME[0]="acpi_call"
-DEST_MODULE_LOCATION[0]="/kernel/drivers/acpi"
Copied: acpi_call/repos/community-staging-x86_64/dkms.conf (from rev 465420, acpi_call/trunk/dkms.conf)
===================================================================
--- dkms.conf (rev 0)
+++ dkms.conf 2019-05-11 16:12:40 UTC (rev 465426)
@@ -0,0 +1,9 @@
+PACKAGE_NAME="acpi_call"
+PACKAGE_VERSION="#MODULE_VERSION#"
+AUTOINSTALL="yes"
+
+MAKE[0]="make KVERSION=$kernelver"
+CLEAN="make clean"
+
+BUILT_MODULE_NAME[0]="acpi_call"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/acpi"
More information about the arch-commits
mailing list