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

Maxime Gauduin alucryd at archlinux.org
Thu Feb 12 20:41:50 UTC 2015


    Date: Thursday, February 12, 2015 @ 21:41:50
  Author: alucryd
Revision: 127627

FS#43772: acpi_call 1.1.0-23

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

-------------------+
 PKGBUILD          |   34 +++++++++++++++++-----------------
 acpi_call.install |    2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-12 19:16:41 UTC (rev 127626)
+++ PKGBUILD	2015-02-12 20:41:50 UTC (rev 127627)
@@ -1,31 +1,31 @@
 # $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: mortzu <me at mortzu.de>
 # Contributor: fnord0 <fnord0 at riseup.net>
 
 pkgname=acpi_call
 pkgver=1.1.0
-pkgrel=22
-_extramodules=extramodules-3.19-ARCH
+pkgrel=23
+_extramodules=extramodules-3.18-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}"
+url='http://github.com/mkottman/acpi_call'
 license=('GPL')
-depends=('linux>=3.19' 'linux<3.20')
-makedepends=('linux-headers>=3.19' 'linux-headers<3.20')
-install="${pkgname}.install"
-source=("${url}/archive/v${pkgver}.tar.gz")
+depends=('linux>=3.18' 'linux<3.19')
+makedepends=('linux-headers>=3.18' 'linux-headers<3.19')
+install='acpi_call.install'
+source=("http://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz")
 sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd acpi_call-${pkgver}
 
-  # Fix build with Linux 3.17
+  # Fix build with Linux >= 3.17
   sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd acpi_call-${pkgver}
 
   _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
 
@@ -33,15 +33,15 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd acpi_call-${pkgver}
 
   install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d}
-  install -m 644 ${pkgname}.ko "${pkgdir}"/usr/lib/modules/${_extramodules}
-  gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/${pkgname}.ko
-  echo ${pkgname} > "${pkgdir}"/usr/lib/modules-load.d/${pkgname}.conf
+  install -m 644 acpi_call.ko "${pkgdir}"/usr/lib/modules/${_extramodules}
+  gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/acpi_call.ko
+  echo acpi_call > "${pkgdir}"/usr/lib/modules-load.d/acpi_call.conf
 
-  install -dm 755 "${pkgdir}"/usr/share/${pkgname}
-  cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/${pkgname}/
+  install -dm 755 "${pkgdir}"/usr/share/acpi_call
+  cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/acpi_call/
 }
 
 # vim: ts=2 sw=2 et:

Modified: acpi_call.install
===================================================================
--- acpi_call.install	2015-02-12 19:16:41 UTC (rev 127626)
+++ acpi_call.install	2015-02-12 20:41:50 UTC (rev 127627)
@@ -1,5 +1,5 @@
 post_install() {
-  _extramodules=extramodules-3.19-ARCH
+  _extramodules=extramodules-3.18-ARCH
   depmod $(cat /usr/lib/modules/${_extramodules}/version)
 }
 



More information about the arch-commits mailing list