summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openrc-desktop/PKGBUILD30
1 files changed, 21 insertions, 9 deletions
diff --git a/pcr/openrc-desktop/PKGBUILD b/pcr/openrc-desktop/PKGBUILD
index f620b52b1..e8fd18d39 100644
--- a/pcr/openrc-desktop/PKGBUILD
+++ b/pcr/openrc-desktop/PKGBUILD
@@ -1,5 +1,4 @@
-# Maintainer (Manjaro): artoo <artoo@manjaro.org>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Maintainer: artoo <artoo@manjaro.org>
_url="https://raw.githubusercontent.com/gentoo/gentoo/master"
@@ -13,9 +12,10 @@ pkgname=('acpid-openrc'
'gpm-openrc'
'bluez-openrc'
'networkmanager-openrc'
- 'wpa_supplicant-openrc')
+ 'wpa_supplicant-openrc'
+ 'elogind-openrc')
-pkgver=20170309
+pkgver=20170311
pkgrel=1
pkgdesc="OpenRC init scripts"
arch=('any')
@@ -48,7 +48,9 @@ source=("acpid.confd::${_url}/sys-power/acpid/files/acpid-2.0.16-conf.d"
'10-openrc-status'
'avahi-daemon.initd'
'avahi-dnsconfd.initd'
- 'xdg-user-dirs')
+ 'xdg-user-dirs'
+ "elogind.confd::${_url}/sys-auth/elogind/files/elogind.conf"
+ "elogind.initd::${_url}/sys-auth/elogind/files/elogind.init")
sha256sums=('3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba'
'5dcf5721a129b3782c13fc453853c390c34e2ad4ee00706388ce014454b063ee'
'd1c55400b701a72dcb8bb85e016b5013fa3eb6a2766ffc20dae278d0ee4c1a43'
@@ -72,7 +74,9 @@ sha256sums=('3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba'
'1535237db113a76261d6f1ce0b24a55e956934b0c1c59e9fd624f621961327b6'
'876788303553fe773e64917f76f0208f5e8adf7b91d4af24aa9d6a68a147d646'
'e128576d72981e402ff106bb481108ab6d5ba941ab1b0f5f53e96a7831fc1d15'
- 'f0f27de23d849b2fa4ebf59e448b5a843b577d14dc2c1070e228999091fa7f5e')
+ 'f0f27de23d849b2fa4ebf59e448b5a843b577d14dc2c1070e228999091fa7f5e'
+ 'ad651e0c6cd456cc0209802ac878a7c08e69435f0428ded4ad116d11f728b2dd'
+ '0113e93f3dd2c7e2ee581a39e7625d49d8e64c6089d432721a6be9df85e36531')
pkgver() {
date +%Y%m%d
@@ -149,11 +153,20 @@ package_displaymanager-openrc() {
sed -e 's|/etc/profile.env|/etc/profile|g' \
-e 's|{ROOTPATH}|{PATH}|g' \
+ -e 's|use consolekit dbus xfs|use consolekit dbus xfs elogind|' \
-i "${pkgdir}/etc/init.d/xdm"
install -D ${srcdir}/xdg-user-dirs "$pkgdir/etc/X11/xinit/xinitrc.d/xdg-user-dirs"
}
+package_elogind-openrc() {
+ pkgdesc="OpenRC elogind init script"
+ depends=('elogind' 'openrc')
+
+ _inst_confd 'elogind'
+ _inst_initd 'elogind'
+}
+
package_gpm-openrc() {
pkgdesc="OpenRC gpm init script"
depends=('openrc' 'gpm')
@@ -174,9 +187,8 @@ package_networkmanager-openrc() {
install -Dm755 "${srcdir}/10-openrc-status" "${pkgdir}/etc/NetworkManager/dispatcher.d/10-openrc-status"
-# sed -e 's|@EPREFIX@/sbin|/usr/bin|' \
-# -e 's|@EPREFIX@/usr/sbin|/usr/bin|' \
-# -i "${pkgdir}/etc/NetworkManager/dispatcher.d/10-openrc-status"
+ sed -e 's|use consolekit|use consolekit elogind|' \
+ -i "${pkgdir}/etc/init.d/NetworkManager"
}
package_bluez-openrc() {