[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Tuesday, February 4, 2020 @ 20:08:05 Author: heftig Revision: 562457 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 562454, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 562454, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-04 20:08:04 UTC (rev 562456) +++ PKGBUILD2020-02-04 20:08:05 UTC (rev 562457) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=282 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=283 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Saturday, February 1, 2020 @ 17:52:17 Author: heftig Revision: 561064 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 561060, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 561060, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-01 17:52:17 UTC (rev 561063) +++ PKGBUILD2020-02-01 17:52:17 UTC (rev 561064) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=280 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=281 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Sunday, January 12, 2020 @ 13:20:08 Author: heftig Revision: 552210 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 552209, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 552209, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-01-12 13:19:50 UTC (rev 552209) +++ PKGBUILD2020-01-12 13:20:08 UTC (rev 552210) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=274 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=275 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Sunday, January 12, 2020 @ 13:17:23 Author: heftig Revision: 552208 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 552207, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 552207, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-01-12 13:11:40 UTC (rev 552207) +++ PKGBUILD2020-01-12 13:17:23 UTC (rev 552208) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=274 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=274 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Tuesday, December 24, 2019 @ 05:37:29 Author: heftig Revision: 539715 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 539709, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 539709, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-24 05:37:28 UTC (rev 539714) +++ PKGBUILD2019-12-24 05:37:29 UTC (rev 539715) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=269 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=270 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Friday, November 29, 2019 @ 15:59:29 Author: heftig Revision: 534375 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 534370, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 534371, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-29 15:59:29 UTC (rev 534374) +++ PKGBUILD2019-11-29 15:59:29 UTC (rev 534375) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=262 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=263 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Sunday, November 10, 2019 @ 15:11:00 Author: heftig Revision: 526450 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 526447, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/dkms.conf (from rev 526447, acpi_call/trunk/dkms.conf) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/dkms.conf ---+ PKGBUILD | 124 ++-- dkms.conf | 18 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-10 15:11:00 UTC (rev 526449) +++ PKGBUILD2019-11-10 15:11:00 UTC (rev 526450) @@ -1,62 +0,0 @@ -# Maintainer: Maxime Gauduin -# Contributor: mortzu -# Contributor: fnord0 - -pkgbase=acpi_call -pkgname=(acpi_call acpi_call-dkms) -pkgver=1.1.0 -pkgrel=257 -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') -makedepends=('linux-headers') -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="$( +# Contributor: mortzu +# Contributor: fnord0 + +pkgbase=acpi_call +pkgname=(acpi_call acpi_call-dkms) +pkgver=1.1.0 +pkgrel=258 +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') +makedepends=('linux-headers') +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="$(
[arch-commits] Commit in acpi_call/repos/community-testing-x86_64 (4 files)
Date: Wednesday, November 8, 2017 @ 15:38:05 Author: tpowa Revision: 265735 archrelease: copy trunk to community-testing-x86_64 Added: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 265734, acpi_call/trunk/PKGBUILD) acpi_call/repos/community-testing-x86_64/acpi_call.install (from rev 265734, acpi_call/trunk/acpi_call.install) Deleted: acpi_call/repos/community-testing-x86_64/PKGBUILD acpi_call/repos/community-testing-x86_64/acpi_call.install ---+ PKGBUILD | 100 ++-- acpi_call.install | 28 +++--- 2 files changed, 64 insertions(+), 64 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-11-08 15:32:52 UTC (rev 265734) +++ PKGBUILD2017-11-08 15:38:05 UTC (rev 265735) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin-# Contributor: mortzu -# Contributor: fnord0 - -pkgname=acpi_call -pkgver=1.1.0 -pkgrel=77 -_extramodules=extramodules-4.13-ARCH -pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call' -arch=('i686' 'x86_64') -url='https://github.com/mkottman/acpi_call' -license=('GPL') -depends=('linux>=4.13' 'linux<4.14') -makedepends=('linux-headers>=4.13' 'linux-headers<4.14') -install='acpi_call.install' -source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/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 - - # Fix build with Linux >= 4.12 - sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c -} - -build() { - cd acpi_call-${pkgver} - - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - make KVERSION="${_kernver}" -} - -package() { - cd acpi_call-${pkgver} - - install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d} - 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/acpi_call - cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/acpi_call/ -} - -# vim: ts=2 sw=2 et: Copied: acpi_call/repos/community-testing-x86_64/PKGBUILD (from rev 265734, acpi_call/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-11-08 15:38:05 UTC (rev 265735) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Maxime Gauduin +# Contributor: mortzu +# Contributor: fnord0 + +pkgname=acpi_call +pkgver=1.1.0 +pkgrel=77 +_extramodules=extramodules-4.13-ARCH +pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call' +arch=('i686' 'x86_64') +url='https://github.com/mkottman/acpi_call' +license=('GPL') +depends=('linux>=4.13' 'linux<4.14') +makedepends=('linux-headers>=4.13' 'linux-headers<4.14') +install='acpi_call.install' +source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/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 + + # Fix build with Linux >= 4.12 + sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c +} + +build() { + cd acpi_call-${pkgver} + + _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + + make KVERSION="${_kernver}" +} + +package() { + cd acpi_call-${pkgver} + + install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d} + 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/acpi_call + cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/acpi_call/ +} + +# vim: ts=2 sw=2 et: Deleted: acpi_call.install === --- acpi_call.install 2017-11-08 15:32:52 UTC (rev 265734) +++ acpi_call.install 2017-11-08 15:38:05 UTC (rev 265735) @@ -1,14 +0,0 @@ -post_install() { - _extramodules=extramodules-4.13-ARCH - depmod $(cat /usr/lib/modules/${_extramodules}/version) -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - -# vim: ts=2 sw=2 et: Copied: acpi_call/repos/community-testing-x86_64/acpi_call.install (from rev 265734, acpi_call/trunk/acpi_call.install) ===