summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/openrc-desktop/PKGBUILD51
1 files changed, 34 insertions, 17 deletions
diff --git a/pcr/openrc-desktop/PKGBUILD b/pcr/openrc-desktop/PKGBUILD
index 672f9300e..c98c42e4c 100644
--- a/pcr/openrc-desktop/PKGBUILD
+++ b/pcr/openrc-desktop/PKGBUILD
@@ -1,18 +1,20 @@
-# Maintainer (Arch): artoo <artoo@manjaro.org>
+# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_gentoo_uri="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86"
+_gentoo_uri="https://raw.githubusercontent.com/gentoo/gentoo/master"
pkgbase=openrc-desktop
pkgname=('acpid-openrc'
'alsa-utils-openrc'
'avahi-openrc'
+ 'cgmanager-openrc'
'consolekit-openrc'
'displaymanager-openrc'
'gpm-openrc'
'bluez-openrc'
'wpa_supplicant-openrc')
-pkgver=20150828
+
+pkgver=20150921
pkgrel=1
pkgdesc="OpenRC init scripts"
arch=('any')
@@ -28,7 +30,7 @@ source=("acpid.confd::${_gentoo_uri}/sys-power/acpid/files/acpid-2.0.16-conf.d"
"acpid.initd::${_gentoo_uri}/sys-power/acpid/files/acpid-2.0.16-init.d"
"alsasound.confd::${_gentoo_uri}/media-sound/alsa-utils/files/alsasound.confd-r4"
"alsasound.initd::${_gentoo_uri}/media-sound/alsa-utils/files/alsasound.initd-r6"
- "consolekit.initd::${_gentoo_uri}/sys-auth/consolekit/files/consolekit-0.2.rc"
+ "consolekit.initd::${_gentoo_uri}/sys-auth/consolekit/files/consolekit-1.0.0.initd"
"xdm.confd::${_gentoo_uri}/x11-base/xorg-server/files/xdm.confd-4"
"xdm.initd::${_gentoo_uri}/x11-base/xorg-server/files/xdm.initd-11"
"xdm-setup.initd::${_gentoo_uri}/x11-base/xorg-server/files/xdm-setup.initd-1"
@@ -42,26 +44,30 @@ source=("acpid.confd::${_gentoo_uri}/sys-power/acpid/files/acpid-2.0.16-conf.d"
"wpa_supplicant.initd::${_gentoo_uri}/net-wireless/wpa_supplicant/files/wpa_supplicant-init.d"
"${_gentoo_uri}/net-wireless/wpa_supplicant/files/wpa_cli.sh"
'avahi-daemon.initd'
- 'avahi-dnsconfd.initd')
+ 'avahi-dnsconfd.initd'
+ "cgproxy.initd::${_gentoo_uri}/app-admin/cgmanager/files/cgproxy.initd-r1"
+ "cgmanager.initd::${_gentoo_uri}/app-admin/cgmanager/files/cgmanager.initd-r1")
sha256sums=('3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba'
- '980468e6bf96c7677898330cadbcff165b4d15f1197cd544548bd0f8c376983d'
+ 'c2e7afd61146f24dd4abc29a77474cb2172b6b608a7754cfa64b18a490d0d816'
'd1c55400b701a72dcb8bb85e016b5013fa3eb6a2766ffc20dae278d0ee4c1a43'
- '5fdcb0212bf8a4be74f410534534fdda6dd8d57df0d2a6c4a158464f705fed18'
- 'da849bae527a7a5c257301a99ac3fb5ec2ded48103ec114552ca7d2a24b12e49'
+ '1c8e25bbd5ab3c6c64c47ab094f7bd3dbf7f787007cbaf8404e5815862f23e97'
+ '5775f1225141d09c01dfaed17b7476486bb49383b0209245851f879fc7e2d68c'
'9d26b72bb28611a60a6b9f942b8d8cfe47b59f926be89af9709b5912668344d8'
- '86a17c9ba172481318d5fd51c3aadfdcad9e5d52ed7478379723ce1784061930'
- '942ce5e8d1a0770543b683dcc388bae7619a24eb9741c1cd678ed3df97c01406'
- 'e7f2d95b3b4b6b5d711f926f8a3b7b0163b4d9e40b40489bcbd1316806e47499'
+ '19992228827ae635f3ef08c1b08889afedfa563efa50bc2fb7db211caa8d1510'
+ 'f88aadaea4a0d39bfac4e5bee60c316e0dbe6443d34b1f4629bf2324394883f7'
+ 'da3efeaa0e5becefbbd5fe82e89a76a1efa1969b9afc1b5bd0abf83a93fc0bee'
'73e7483fdc4b12ab4225a4cb13bbe7da71b07b9e69b17e3a6a4c63cb5e2287c8'
- 'e692e7b97efdd79f6e92fbdaed60f7a71bfd23a82c5561b160b88a7aa50c8461'
+ 'a342f0d17362b193e4aca3b9f947c6248f2da410707fc8e81f85ef98dc816411'
'672498957049fd301f9c9c1dc9fa49430e5e6d3c3f1f3cdce80df3af7d425d08'
- 'e633ab4690db7d89d8a325bbdff73253cb4e3994c4cc5daa0c81205576bc1d09'
- 'de7f4a890cf994e1c283251ac5ac6b0aedb29104d708e5e7a77702ac2055dec7'
+ 'a95d6806952513826ad04f663b39e44f755f06beab7727c4e170249670d6f448'
+ '1319d3e70468e68025d54956edd92bca89bed04546614d4714fb5016b2900456'
'61ec59007f66ac5bacc0aa095d1f2ccbc977a687038e161a463d1727223d5a90'
'62a3655ea88b3dfff5243666a4e90d3f0eef6370a7889affb849e178ba4a82b0'
- 'a60d145a8874b57a944c6775fdf500d03dd1ce73c24357b00d3de37b14620179'
+ 'fb3483d4e54d3b48b993e117e45338977a5782373520e15d51cd9cd9417eec03'
'876788303553fe773e64917f76f0208f5e8adf7b91d4af24aa9d6a68a147d646'
- 'e128576d72981e402ff106bb481108ab6d5ba941ab1b0f5f53e96a7831fc1d15')
+ 'e128576d72981e402ff106bb481108ab6d5ba941ab1b0f5f53e96a7831fc1d15'
+ '5e676e1bd76f73a1fd48f706030b8cc0bea5cb36c439dd02f213092ca985cd9e'
+ '625c8b2f507076eac0108e75547239508d147bcc669372fc3991bb42b17608e1')
pkgver() {
date +%Y%m%d
@@ -71,6 +77,7 @@ _inst_initd(){
install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \
+ -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|' \
-e 's|/var/run|/run|g' \
-e 's|/usr/sbin|/usr/bin|g' \
-i ${pkgdir}/etc/init.d/$1
@@ -109,9 +116,19 @@ package_avahi-openrc() {
_inst_initd 'avahi-dnsconfd'
}
+package_cgmanager-openrc() {
+ pkgdesc="OpenRC cgmanager init script"
+ groups=('openrc-desktop')
+ depends=('openrc-core' 'cgmanager')
+ install=cgmanager.install
+
+ _inst_initd 'cgproxy'
+ _inst_initd 'cgmanager'
+}
+
package_consolekit-openrc() {
pkgdesc="OpenRC consolekit init script"
- depends=('consolekit' 'dbus-openrc')
+ depends=('consolekit' 'dbus-openrc' 'cgmanager-openrc')
install=consolekit.install
_inst_initd 'consolekit'