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

Evangelos Foutras foutrelis at archlinux.org
Mon Oct 6 18:42:13 UTC 2014


    Date: Monday, October 6, 2014 @ 20:42:13
  Author: foutrelis
Revision: 120298

upgpkg: acpi_call 1.1.0-14

Linux 3.17 rebuild.

Modified:
  acpi_call/trunk/PKGBUILD
  acpi_call/trunk/acpi_call.install

-------------------+
 PKGBUILD          |   15 +++++++++++----
 acpi_call.install |    2 +-
 2 files changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-06 18:41:00 UTC (rev 120297)
+++ PKGBUILD	2014-10-06 18:42:13 UTC (rev 120298)
@@ -5,18 +5,25 @@
 
 pkgname=acpi_call
 pkgver=1.1.0
-pkgrel=13
-_extramodules=extramodules-3.16-ARCH
+pkgrel=14
+_extramodules=extramodules-3.17-ARCH
 pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
 arch=('i686' 'x86_64')
 url="http://github.com/mkottman/${pkgname}"
 license=('GPL')
-depends=('linux>=3.16' 'linux<3.17')
-makedepends=('linux-headers>=3.16' 'linux-headers<3.17')
+depends=('linux>=3.17' 'linux<3.18')
+makedepends=('linux-headers>=3.17' 'linux-headers<3.18')
 install="${pkgname}.install"
 source=("${url}/archive/v${pkgver}.tar.gz")
 sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # Fix build with Linux 3.17
+  sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+}
+
 build() {
   cd ${pkgname}-${pkgver}
 

Modified: acpi_call.install
===================================================================
--- acpi_call.install	2014-10-06 18:41:00 UTC (rev 120297)
+++ acpi_call.install	2014-10-06 18:42:13 UTC (rev 120298)
@@ -1,5 +1,5 @@
 post_install() {
-  _extramodules=extramodules-3.16-ARCH
+  _extramodules=extramodules-3.17-ARCH
   depmod $(cat /usr/lib/modules/${_extramodules}/version)
 }
 



More information about the arch-commits mailing list