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

2020-12-14 Thread Christian Hesse via arch-commits
Date: Monday, December 14, 2020 @ 23:28:12
  Author: eworm
Revision: 775791

upgpkg: acpi_call-dkms 1.2.1-4: drop dependency on linux-headers

This package depends on dkms, which lists the headers packages as
optional dependencies.

Modified:
  acpi_call-dkms/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-14 23:19:38 UTC (rev 775790)
+++ PKGBUILD2020-12-14 23:28:12 UTC (rev 775791)
@@ -4,7 +4,7 @@
 
 pkgname=acpi_call-dkms
 pkgver=1.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call - module sources'
 url=https://github.com/nix-community/acpi_call
 arch=(any)
@@ -11,7 +11,6 @@
 license=(GPL)
 depends=(dkms)
 makedepends=(git)
-optdepends=('linux-headers: build for the linux kernel')
 provides=(acpi_call=${pkgver}-${pkgrel})
 conflicts=(acpi_call)
 _tag=3a28aabfa337d59df91cc04c85b250da7f7cadea


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

2020-12-09 Thread Maxime Gauduin via arch-commits
Date: Thursday, December 10, 2020 @ 07:24:50
  Author: alucryd
Revision: 772966

acpi_call-dkms 1.2.1-3: demote linux-headers to optdeps

Modified:
  acpi_call-dkms/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-10 07:17:03 UTC (rev 772965)
+++ PKGBUILD2020-12-10 07:24:50 UTC (rev 772966)
@@ -4,16 +4,14 @@
 
 pkgname=acpi_call-dkms
 pkgver=1.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call - module sources'
 url=https://github.com/nix-community/acpi_call
 arch=(any)
 license=(GPL)
 depends=(dkms)
-makedepends=(
-  git
-  linux-headers
-)
+makedepends=(git)
+optdepends=('linux-headers: build for the linux kernel')
 provides=(acpi_call=${pkgver}-${pkgrel})
 conflicts=(acpi_call)
 _tag=3a28aabfa337d59df91cc04c85b250da7f7cadea


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

2020-11-05 Thread Christian Hesse via arch-commits
Date: Friday, November 6, 2020 @ 07:55:10
  Author: eworm
Revision: 743880

upgpkg: acpi_call-dkms 1.2.1-2: fix kernel version

Modified:
  acpi_call-dkms/trunk/PKGBUILD
  acpi_call-dkms/trunk/dkms.conf

---+
 PKGBUILD  |8 +++-
 dkms.conf |2 +-
 2 files changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-06 07:12:02 UTC (rev 743879)
+++ PKGBUILD2020-11-06 07:55:10 UTC (rev 743880)
@@ -4,7 +4,7 @@
 
 pkgname=acpi_call-dkms
 pkgver=1.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call - module sources'
 url=https://github.com/nix-community/acpi_call
 arch=(any)
@@ -21,10 +21,8 @@
   git+https://github.com/nix-community/acpi_call.git#tag=${_tag}
   dkms.conf
 )
-b2sums=(
-  SKIP
-  
a571f825ad02afc24126c8f6f0908f29c75ea025799505fbfecf9eb27e0b9671dbc678535154b4fb3f8b768ced26c470dd687d953480d5dae743dc0f885f7671
-)
+b2sums=('SKIP'
+
'504da1102e778fe54368e990408dbef02f5b2ce91f683d170f3d6a1a2f9349d00d61dcbddd0262a8dfc958ea0964135ba58d8dd88ac06bd10b5e13b90f11faef')
 
 pkgver() {
   cd acpi_call

Modified: dkms.conf
===
--- dkms.conf   2020-11-06 07:12:02 UTC (rev 743879)
+++ dkms.conf   2020-11-06 07:55:10 UTC (rev 743880)
@@ -2,7 +2,7 @@
 PACKAGE_VERSION="#MODULE_VERSION#"
 AUTOINSTALL="yes"
 
-MAKE[0]="make KVERSION=$kernelver"
+MAKE[0]="make KVER=$kernelver"
 CLEAN="make clean"
 
 BUILT_MODULE_NAME[0]="acpi_call"


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

2020-11-05 Thread Maxime Gauduin via arch-commits
Date: Thursday, November 5, 2020 @ 18:55:06
  Author: alucryd
Revision: 743358

upgpkg: acpi_call-dkms 1.2.1-1

Modified:
  acpi_call-dkms/trunk/PKGBUILD

--+
 PKGBUILD |   57 +
 1 file changed, 29 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-05 18:37:35 UTC (rev 743357)
+++ PKGBUILD2020-11-05 18:55:06 UTC (rev 743358)
@@ -3,39 +3,40 @@
 # Contributor: fnord0 
 
 pkgname=acpi_call-dkms
-pkgver=1.1.0
-pkgrel=287
+pkgver=1.2.1
+pkgrel=1
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call - module sources'
-url='https://github.com/mkottman/acpi_call'
-arch=('x86_64')
-license=('GPL')
-depends=('dkms')
-makedepends=('linux-headers')
-provides=("acpi_call=$pkgver-$pkgrel")
-conflicts=('acpi_call')
-source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz;
-'0001-linux-5.6.patch'
-'dkms.conf')
-sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0'
-'1f397f087fd96d5286907c90f518bbe68b0d19f83ab30bb124f76a19693a932c'
-'32e6ea6523b13132c6c7838bba7fbf3d040ba2d35a892c2c356245612720df8a')
+url=https://github.com/nix-community/acpi_call
+arch=(any)
+license=(GPL)
+depends=(dkms)
+makedepends=(
+  git
+  linux-headers
+)
+provides=(acpi_call=${pkgver}-${pkgrel})
+conflicts=(acpi_call)
+_tag=3a28aabfa337d59df91cc04c85b250da7f7cadea
+source=(
+  git+https://github.com/nix-community/acpi_call.git#tag=${_tag}
+  dkms.conf
+)
+b2sums=(
+  SKIP
+  
a571f825ad02afc24126c8f6f0908f29c75ea025799505fbfecf9eb27e0b9671dbc678535154b4fb3f8b768ced26c470dd687d953480d5dae743dc0f885f7671
+)
 
-prepare() {
-  cd acpi_call-$pkgver
+pkgver() {
+  cd acpi_call
 
-  # Fix build with Linux >= 5.6
-  patch -Np1 < ../0001-linux-5.6.patch
+  git describe --tags | sed 's/^v//'
 }
 
 package() {
-  cd acpi_call-$pkgver
-
-  install -Dt "$pkgdir/usr/src/acpi_call-$pkgver" -m0644 Makefile acpi_call.c 
../dkms.conf
-
-  echo acpi_call | install -Dm0644 /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
+  install -Dm 644 acpi_call/{Makefile,acpi_call.c} dkms.conf -t 
"${pkgdir}"/usr/src/acpi_call-${pkgver}
+  echo acpi_call | install -Dm 644 /dev/stdin 
"${pkgdir}"/usr/lib/modules-load.d/acpi_call.conf
+  install -dm 755 "${pkgdir}"/usr/share/acpi_call
+  cp -dr --no-preserve=ownership acpi_call/{examples,support} 
"${pkgdir}"/usr/share/acpi_call/
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:


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

2020-02-05 Thread Christian Hesse via arch-commits
Date: Wednesday, February 5, 2020 @ 13:28:46
  Author: eworm
Revision: 563191

upgpkg: acpi_call-dkms 1.1.0-286

fix path

Modified:
  acpi_call-dkms/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-05 13:28:32 UTC (rev 563190)
+++ PKGBUILD2020-02-05 13:28:46 UTC (rev 563191)
@@ -4,7 +4,7 @@
 
 pkgname=acpi_call-dkms
 pkgver=1.1.0
-pkgrel=285
+pkgrel=286
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call - module sources'
 url='https://github.com/mkottman/acpi_call'
 arch=('x86_64')
@@ -31,7 +31,7 @@
 package() {
   cd acpi_call-$pkgver
 
-  install -Dt "$pkgdir/usr/src/$pkgbase-$pkgver" -m0644 Makefile acpi_call.c 
../dkms.conf
+  install -Dt "$pkgdir/usr/src/acpi_call-$pkgver" -m0644 Makefile acpi_call.c 
../dkms.conf
 
   echo acpi_call | install -Dm0644 /dev/stdin 
"$pkgdir/usr/lib/modules-load.d/acpi_call.conf"