summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDictator Mei2018-07-29 17:54:59 +0900
committerDictator Mei2018-07-29 17:54:59 +0900
commitc708a677676384318fb8f9c5b8626f1d5fc3d74c (patch)
tree5baa31cd42097e7f02412a2da2dfa0eca1c0c60d
downloadaur-c708a677676384318fb8f9c5b8626f1d5fc3d74c.tar.gz
systemd-acpi-nb
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD13
-rw-r--r--acpi-nb.conf3
3 files changed, 27 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..a34efc8f4101
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = systemd-acpi-nb
+ pkgdesc = systemd acpi for NB
+ pkgver = 1.0
+ pkgrel = 1
+ arch = any
+ depends = systemd
+ source = acpi-nb.conf
+ sha512sums = 7b2a3ccb8e2f463a2bcbbf8a14c13aed11a6419a2b5ef721594e01faa8f315580b098fcacd9376f7f7c2408e6f259381e43dd904c529ca4bff5eefda5a589f34
+
+pkgname = systemd-acpi-nb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..ce0b4a05602d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,13 @@
+# Maintainer: Dictator Mei <dctxmei@gmail.com>
+pkgname=systemd-acpi-nb
+pkgver=1.0
+pkgrel=1
+pkgdesc="systemd acpi for NB"
+arch=('any')
+depends=('systemd')
+source=("acpi-nb.conf")
+sha512sums=("7b2a3ccb8e2f463a2bcbbf8a14c13aed11a6419a2b5ef721594e01faa8f315580b098fcacd9376f7f7c2408e6f259381e43dd904c529ca4bff5eefda5a589f34")
+
+package() {
+ install -Dm644 "$srcdir"/acpi-nb.conf "$pkgdir"/etc/systemd/logind.conf.d/acpi-nb.conf
+}
diff --git a/acpi-nb.conf b/acpi-nb.conf
new file mode 100644
index 000000000000..b9c6e9da3556
--- /dev/null
+++ b/acpi-nb.conf
@@ -0,0 +1,3 @@
+[Login]
+HandlePowerKey=ignore
+HandleLidSwitch=ignore