main/postmarketos-ui-sway: fix lightdm (!690)

Fix missing lightdm dependency, replace post-upgrade script with
symlink.
This commit is contained in:
Bart Ribbers 2019-10-17 19:58:35 +02:00 committed by Oliver Smith
parent de143332b8
commit f16207547b
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
3 changed files with 5 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Daniele Debernardi <drebrez@gmail.com> # Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=postmarketos-ui-mate pkgname=postmarketos-ui-mate
pkgver=1 pkgver=1
pkgrel=8 pkgrel=9
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)" pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
url="http://mate-desktop.org/" url="http://mate-desktop.org/"
arch="noarch" arch="noarch"

View File

@ -3,14 +3,14 @@
# Maintainer: Danct12 <danct12@disroot.org> # Maintainer: Danct12 <danct12@disroot.org>
pkgname=postmarketos-ui-sway pkgname=postmarketos-ui-sway
pkgver=1 pkgver=1
pkgrel=2 pkgrel=3
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)" pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
depends="dbus sway swaylock swayidle xorg-server-xwayland postmarketos-artwork-wallpapers depends="dbus sway swaylock swayidle xorg-server-xwayland postmarketos-artwork-wallpapers
rxvt-unicode xorg-server lightdm-openrc lightdm-gtk-greeter elogind" rxvt-unicode xorg-server lightdm lightdm-openrc elogind"
install="$pkgname.post-install" install="$pkgname.post-install $pkgname.post-upgrade"
source="60-lightdm-autologin.conf postmarketos_background" source="60-lightdm-autologin.conf postmarketos_background"
options="!check" # no testsuite options="!check" # no testsuite

View File

@ -1,5 +0,0 @@
#!/bin/sh
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf
rc-update add lightdm default

View File

@ -0,0 +1 @@
postmarketos-ui-sway.post-install