main/postmarketos-ui-xfce4: fix lightdm, cosmetics (!690)

Fix missing lightdm dependency, replace post-upgrade script with
symlink, set drebrez as maintainer.
This commit is contained in:
Bart Ribbers 2019-10-17 20:04:07 +02:00 committed by Oliver Smith
parent 473b32990f
commit eec980c7a1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 6 additions and 8 deletions

View file

@ -1,11 +1,13 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=postmarketos-ui-xfce4
pkgver=0.2
pkgrel=8
pkgrel=9
pkgdesc="(X11) Lightweight GTK+2 desktop (stylus recommended)"
url="https://gitlab.com/postmarketOS/xfce4-phone"
arch="noarch"
license="GPL-3.0+"
depends="xfce4 xorg-server mesa-egl postmarketos-artwork-wallpapers faenza-icon-theme xfce4-battery-plugin network-manager-applet gnome-keyring lxpolkit gtk+2.0 lightdm-openrc"
license="GPL-3.0-or-later"
depends="xfce4 xorg-server mesa-egl postmarketos-artwork-wallpapers faenza-icon-theme xfce4-battery-plugin network-manager-applet gnome-keyring lxpolkit gtk+2.0 lightdm lightdm-openrc"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
60-lightdm-autologin.conf"

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-xfce4.post-install