diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/openrc-desktop/PKGBUILD | 10 | ||||
-rwxr-xr-x | pcr/openrc-desktop/xdg-user-dirs | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/pcr/openrc-desktop/PKGBUILD b/pcr/openrc-desktop/PKGBUILD index 609689ac0..c5efc7206 100644 --- a/pcr/openrc-desktop/PKGBUILD +++ b/pcr/openrc-desktop/PKGBUILD @@ -15,7 +15,7 @@ pkgname=('acpid-openrc' 'networkmanager-openrc' 'wpa_supplicant-openrc') -pkgver=20160528 +pkgver=20160608 pkgrel=1 pkgdesc="OpenRC init scripts" arch=('any') @@ -46,7 +46,8 @@ source=("acpid.confd::${_url}/sys-power/acpid/files/acpid-2.0.16-conf.d" "NetworkManager.initd::${_url}/net-misc/networkmanager/files/init.d.NetworkManager" "10-openrc-status::${_url}/net-misc/networkmanager/files/10-openrc-status-r4" 'avahi-daemon.initd' - 'avahi-dnsconfd.initd') + 'avahi-dnsconfd.initd' + 'xdg-user-dirs') sha256sums=('3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba' '9b8785324a5e259f10ec5aff20ef3d977621a9c1dad49751dbc7b83243cac67f' 'd1c55400b701a72dcb8bb85e016b5013fa3eb6a2766ffc20dae278d0ee4c1a43' @@ -70,7 +71,8 @@ sha256sums=('3755d4eb8bb64a1304e5defedb949305ac550565da36fe4f94d5f31beee821ba' '1af8436d6e917708ef310498c57272229e3f149cc7305281fb647c1e03fb952c' 'f8ed424818b866a0bf882c569f4484e8b1485ce7ac8c472f060fd877f2dcfe65' '876788303553fe773e64917f76f0208f5e8adf7b91d4af24aa9d6a68a147d646' - 'e128576d72981e402ff106bb481108ab6d5ba941ab1b0f5f53e96a7831fc1d15') + 'e128576d72981e402ff106bb481108ab6d5ba941ab1b0f5f53e96a7831fc1d15' + 'f0f27de23d849b2fa4ebf59e448b5a843b577d14dc2c1070e228999091fa7f5e') pkgver() { date +%Y%m%d @@ -149,6 +151,8 @@ package_displaymanager-openrc() { sed -e 's|/etc/profile.env|/etc/profile|g' \ -e 's|{ROOTPATH}|{PATH}|g' \ -i "${pkgdir}/etc/init.d/xdm" + + install -D ${srcdir}/xdg-user-dirs "$pkgdir/etc/X11/xinit/xinitrc.d/xdg-user-dirs" } package_gpm-openrc() { diff --git a/pcr/openrc-desktop/xdg-user-dirs b/pcr/openrc-desktop/xdg-user-dirs new file mode 100755 index 000000000..dbe8abb48 --- /dev/null +++ b/pcr/openrc-desktop/xdg-user-dirs @@ -0,0 +1,4 @@ +#!/bin/sh + +# Set up user directories like ~/Desktop and ~/Music +[ -x /usr/bin/xdg-user-dirs-update ] && /usr/bin/xdg-user-dirs-update |