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

Andreas Radke andyrtr at archlinux.org
Sun Sep 20 16:06:29 UTC 2015


    Date: Sunday, September 20, 2015 @ 18:06:28
  Author: andyrtr
Revision: 141303

upgpkg: acpi_call-lts 1.1.0-22

rebuild for 4.1.7

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-20 16:04:09 UTC (rev 141302)
+++ PKGBUILD	2015-09-20 16:06:28 UTC (rev 141303)
@@ -5,19 +5,26 @@
 
 pkgname=acpi_call-lts
 pkgver=1.1.0
-pkgrel=21
-_extramodules=extramodules-3.14-lts
+pkgrel=22
+_extramodules=extramodules-4.1-lts
 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-lts>=3.14.42')
-makedepends=('linux-lts-headers>=3.14.42')
+depends=('linux-lts>=4.1.7')
+makedepends=('linux-lts-headers>=4.1.7')
 provides=("${pkgname%-*}")
 install="${pkgname%-*}.install"
 source=("acpi_call-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz")
 sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
 
+prepare() {
+  cd acpi_call-${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	2015-09-20 16:04:09 UTC (rev 141302)
+++ acpi_call.install	2015-09-20 16:06:28 UTC (rev 141303)
@@ -1,5 +1,5 @@
 post_install() {
-  _extramodules=extramodules-3.14-lts
+  _extramodules=extramodules-4.1-lts
   depmod $(cat /usr/lib/modules/${_extramodules}/version)
 }
 



More information about the arch-commits mailing list