[arch-commits] Commit in acpid/repos/community-x86_64 (8 files)

Morten Linderud foxboron at archlinux.org
Sun Jul 5 23:09:30 UTC 2020


    Date: Sunday, July 5, 2020 @ 23:09:29
  Author: foxboron
Revision: 657940

archrelease: copy trunk to community-x86_64

Added:
  acpid/repos/community-x86_64/PKGBUILD
    (from rev 657939, acpid/trunk/PKGBUILD)
  acpid/repos/community-x86_64/acpid.service
    (from rev 657939, acpid/trunk/acpid.service)
  acpid/repos/community-x86_64/anything
    (from rev 657939, acpid/trunk/anything)
  acpid/repos/community-x86_64/handler.sh
    (from rev 657939, acpid/trunk/handler.sh)
Deleted:
  acpid/repos/community-x86_64/PKGBUILD
  acpid/repos/community-x86_64/acpid.service
  acpid/repos/community-x86_64/anything
  acpid/repos/community-x86_64/handler.sh

---------------+
 PKGBUILD      |   90 ++++++++++++++++----------------
 acpid.service |   18 +++---
 anything      |    6 +-
 handler.sh    |  154 ++++++++++++++++++++++++++++----------------------------
 4 files changed, 134 insertions(+), 134 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 23:09:15 UTC (rev 657939)
+++ PKGBUILD	2020-07-05 23:09:29 UTC (rev 657940)
@@ -1,45 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Sébastien Luttringer
-# Contributor: xduugu
-# Contributor: Manolis Tzanidakis
-# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
-
-pkgname=acpid
-pkgver=2.0.32
-pkgrel=1
-pkgdesc='A daemon for delivering ACPI power management events with netlink support'
-arch=('x86_64')
-url='https://sourceforge.net/projects/acpid2/'
-license=('GPL')
-depends=('bash')
-optdepends=('perl: use perl based examples')
-replaces=('acpid2')
-backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
-source=("https://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
-        'acpid.service'
-        'anything'
-        'handler.sh')
-sha256sums=('f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e'
-            'a8236bbf774f5e90a4daa369731d6d335c3374ddc62f1224fba02a3d6d678111'
-            'eb5230affb9dba7653890655b94e83f377c689a39131b6b13c8202ba2382c275'
-            '1c1e39b7ecc57092ba9d747f452fb36d8ae0456e2e64849c9c4a2625d1d57413')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sbindir=/usr/bin
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-
-  # default config
-  install -Dm644 ../anything "$pkgdir/etc/acpi/events/anything"
-  install -Dm755 ../handler.sh "$pkgdir/etc/acpi/handler.sh"
-
-  # systemd
-  install -Dm644 ../acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: acpid/repos/community-x86_64/PKGBUILD (from rev 657939, acpid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 23:09:29 UTC (rev 657940)
@@ -0,0 +1,45 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sébastien Luttringer
+# Contributor: xduugu
+# Contributor: Manolis Tzanidakis
+# Contributor: Jonathan Schmidt <j.schmidt at archlinux.us
+
+pkgname=acpid
+pkgver=2.0.32
+pkgrel=2
+pkgdesc='A daemon for delivering ACPI power management events with netlink support'
+arch=('x86_64')
+url='https://sourceforge.net/projects/acpid2/'
+license=('GPL')
+depends=('bash')
+optdepends=('perl: use perl based examples')
+replaces=('acpid2')
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+source=("https://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.tar.xz"
+        'acpid.service'
+        'anything'
+        'handler.sh')
+sha256sums=('f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e'
+            'a8236bbf774f5e90a4daa369731d6d335c3374ddc62f1224fba02a3d6d678111'
+            'eb5230affb9dba7653890655b94e83f377c689a39131b6b13c8202ba2382c275'
+            '1c1e39b7ecc57092ba9d747f452fb36d8ae0456e2e64849c9c4a2625d1d57413')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # default config
+  install -Dm644 ../anything "$pkgdir/etc/acpi/events/anything"
+  install -Dm755 ../handler.sh "$pkgdir/etc/acpi/handler.sh"
+
+  # systemd
+  install -Dm644 ../acpid.service "$pkgdir/usr/lib/systemd/system/acpid.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: acpid.service
===================================================================
--- acpid.service	2020-07-05 23:09:15 UTC (rev 657939)
+++ acpid.service	2020-07-05 23:09:29 UTC (rev 657940)
@@ -1,9 +0,0 @@
-[Unit]
-Description=ACPI event daemon
-Documentation=man:acpid(8)
-
-[Service]
-ExecStart=/usr/bin/acpid --foreground --netlink
-
-[Install]
-WantedBy=multi-user.target

Copied: acpid/repos/community-x86_64/acpid.service (from rev 657939, acpid/trunk/acpid.service)
===================================================================
--- acpid.service	                        (rev 0)
+++ acpid.service	2020-07-05 23:09:29 UTC (rev 657940)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ACPI event daemon
+Documentation=man:acpid(8)
+
+[Service]
+ExecStart=/usr/bin/acpid --foreground --netlink
+
+[Install]
+WantedBy=multi-user.target

Deleted: anything
===================================================================
--- anything	2020-07-05 23:09:15 UTC (rev 657939)
+++ anything	2020-07-05 23:09:29 UTC (rev 657940)
@@ -1,3 +0,0 @@
-# Pass all events to our one handler script
-event=.*
-action=/etc/acpi/handler.sh %e

Copied: acpid/repos/community-x86_64/anything (from rev 657939, acpid/trunk/anything)
===================================================================
--- anything	                        (rev 0)
+++ anything	2020-07-05 23:09:29 UTC (rev 657940)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: handler.sh
===================================================================
--- handler.sh	2020-07-05 23:09:15 UTC (rev 657939)
+++ handler.sh	2020-07-05 23:09:29 UTC (rev 657940)
@@ -1,77 +0,0 @@
-#!/bin/bash
-# Default acpi script that takes an entry for all actions
-
-case "$1" in
-    button/power)
-        case "$2" in
-            PBTN|PWRF)
-                logger 'PowerButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    button/sleep)
-        case "$2" in
-            SLPB|SBTN)
-                logger 'SleepButton pressed'
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    ac_adapter)
-        case "$2" in
-            AC|ACAD|ADP0)
-                case "$4" in
-                    00000000)
-                        logger 'AC unpluged'
-                        ;;
-                    00000001)
-                        logger 'AC pluged'
-                        ;;
-                esac
-                ;;
-            *)
-                logger "ACPI action undefined: $2"
-                ;;
-        esac
-        ;;
-    battery)
-        case "$2" in
-            BAT0)
-                case "$4" in
-                    00000000)
-                        logger 'Battery online'
-                        ;;
-                    00000001)
-                        logger 'Battery offline'
-                        ;;
-                esac
-                ;;
-            CPU0)
-                ;;
-            *)  logger "ACPI action undefined: $2" ;;
-        esac
-        ;;
-    button/lid)
-        case "$3" in
-            close)
-                logger 'LID closed'
-                ;;
-            open)
-                logger 'LID opened'
-                ;;
-            *)
-                logger "ACPI action undefined: $3"
-                ;;
-    esac
-    ;;
-    *)
-        logger "ACPI group/action undefined: $1 / $2"
-        ;;
-esac
-
-# vim:set ts=4 sw=4 ft=sh et:

Copied: acpid/repos/community-x86_64/handler.sh (from rev 657939, acpid/trunk/handler.sh)
===================================================================
--- handler.sh	                        (rev 0)
+++ handler.sh	2020-07-05 23:09:29 UTC (rev 657940)
@@ -0,0 +1,77 @@
+#!/bin/bash
+# Default acpi script that takes an entry for all actions
+
+case "$1" in
+    button/power)
+        case "$2" in
+            PBTN|PWRF)
+                logger 'PowerButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    button/sleep)
+        case "$2" in
+            SLPB|SBTN)
+                logger 'SleepButton pressed'
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    ac_adapter)
+        case "$2" in
+            AC|ACAD|ADP0)
+                case "$4" in
+                    00000000)
+                        logger 'AC unpluged'
+                        ;;
+                    00000001)
+                        logger 'AC pluged'
+                        ;;
+                esac
+                ;;
+            *)
+                logger "ACPI action undefined: $2"
+                ;;
+        esac
+        ;;
+    battery)
+        case "$2" in
+            BAT0)
+                case "$4" in
+                    00000000)
+                        logger 'Battery online'
+                        ;;
+                    00000001)
+                        logger 'Battery offline'
+                        ;;
+                esac
+                ;;
+            CPU0)
+                ;;
+            *)  logger "ACPI action undefined: $2" ;;
+        esac
+        ;;
+    button/lid)
+        case "$3" in
+            close)
+                logger 'LID closed'
+                ;;
+            open)
+                logger 'LID opened'
+                ;;
+            *)
+                logger "ACPI action undefined: $3"
+                ;;
+    esac
+    ;;
+    *)
+        logger "ACPI group/action undefined: $1 / $2"
+        ;;
+esac
+
+# vim:set ts=4 sw=4 ft=sh et:



More information about the arch-commits mailing list