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

Morten Linderud foxboron at archlinux.org
Fri Nov 16 23:33:08 UTC 2018


    Date: Friday, November 16, 2018 @ 23:33:08
  Author: foxboron
Revision: 408499

archrelease: copy trunk to community-x86_64

Added:
  acpid/repos/community-x86_64/PKGBUILD
    (from rev 408498, acpid/trunk/PKGBUILD)
  acpid/repos/community-x86_64/acpid.service
    (from rev 408498, acpid/trunk/acpid.service)
  acpid/repos/community-x86_64/anything
    (from rev 408498, acpid/trunk/anything)
  acpid/repos/community-x86_64/handler.sh
    (from rev 408498, 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      |   91 ++++++++++++++++-----------------
 acpid.service |   18 +++---
 anything      |    6 +-
 handler.sh    |  154 ++++++++++++++++++++++++++++----------------------------
 4 files changed, 134 insertions(+), 135 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-16 23:32:55 UTC (rev 408498)
+++ PKGBUILD	2018-11-16 23:33:08 UTC (rev 408499)
@@ -1,46 +0,0 @@
-# $Id$
-# 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.30
-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=('28b77b62d3f64ebd1c2a3d16bccc6d4333b4e24a86aeacebec255fad223cf4cb'
-            '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 408498, acpid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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.31
+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=('fc9dc669ed85d9a1739aa76915e0667c6697c5431160f8dfb253046c6a072cc3'
+            '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	2018-11-16 23:32:55 UTC (rev 408498)
+++ acpid.service	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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 408498, acpid/trunk/acpid.service)
===================================================================
--- acpid.service	                        (rev 0)
+++ acpid.service	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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	2018-11-16 23:32:55 UTC (rev 408498)
+++ anything	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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 408498, acpid/trunk/anything)
===================================================================
--- anything	                        (rev 0)
+++ anything	2018-11-16 23:33:08 UTC (rev 408499)
@@ -0,0 +1,3 @@
+# Pass all events to our one handler script
+event=.*
+action=/etc/acpi/handler.sh %e

Deleted: handler.sh
===================================================================
--- handler.sh	2018-11-16 23:32:55 UTC (rev 408498)
+++ handler.sh	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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 408498, acpid/trunk/handler.sh)
===================================================================
--- handler.sh	                        (rev 0)
+++ handler.sh	2018-11-16 23:33:08 UTC (rev 408499)
@@ -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