pmaports/main/postmarketos-ui-mate/APKBUILD
Jakob Hauser f6c2712322
main/postmarketos-ui-i3wm|mate|xfce4: remove deinstall scripts (MR 3064)
postmarketos-ui-i3wm|mate.post-deinstall:
Contains removal of file "61-autologin.conf"|"65-autologin.conf".
However, this file is removed by apk automatically unpon
deinstallation.

postmarketos-ui-i3wm|mate|xfce4.pre-deinstall:
Contains disabling service "lightdm". Removing display manager service
upon deinstallation isn't done by other UIs either. It can lead to
unexpected behaviour when installing another UI using lightdm and then
uninstall MATE UI.

Additionally
postmarketos-ui-i3wm.post-upgrade:
Removed postmarketos-ui-i3wm.post-upgrade and replaced it with a link to
postmarketos-ui-i3wm.post-install, like it's done in MATE and Xfce4.
2022-04-10 15:53:52 +01:00

82 lines
3.3 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=postmarketos-ui-mate
pkgver=5
pkgrel=2
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
url="http://mate-desktop.org/"
arch="noarch"
license="GPL-3.0-or-later"
depends="
dbus-x11
dnsmasq
gtk+2.0
lightdm
lightdm-openrc
mate-desktop-environment
mesa-egl
networkmanager
networkmanager-cli
networkmanager-tui
postmarketos-base-ui
postmarketos-artwork-wallpapers
xorg-server
"
_pmb_recommends="
gvfs
mate-tweak
network-manager-applet
onboard
pavucontrol
pulseaudio-utils
unclutter-xfixes
"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
000-system-background.gschema.override
001-screensaver.gschema.override
10_caja_single-click.gschema.override
10_mate-terminal_colors.gschema.override
10_onboard.gschema.override
61-lightdm-autologin.conf
onboard-autostart.desktop
unclutter-xfixes.desktop
"
options="!check"
package() {
install -Dm644 "$srcdir"/000-system-background.gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/000-system-background.gschema.override
install -Dm644 "$srcdir"/001-screensaver.gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/001-screensaver.gschema.override
install -Dm644 "$srcdir"/10_caja_single-click.gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/10_caja_single-click.gschema.override
install -Dm644 "$srcdir"/10_mate-terminal_colors.gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/10_mate-terminal_colors.gschema.override
install -Dm644 "$srcdir"/10_onboard.gschema.override \
"$pkgdir"/usr/share/glib-2.0/schemas/10_onboard.gschema.override
install -Dm644 "$srcdir"/61-lightdm-autologin.conf \
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/61-autologin.conf
install -Dm644 "$srcdir"/onboard-autostart.desktop \
"$pkgdir"/etc/skel/.config/autostart/onboard-autostart.desktop
install -Dm644 "$srcdir"/unclutter-xfixes.desktop \
"$pkgdir"/etc/skel/.config/autostart/unclutter-xfixes.desktop
}
sha512sums="
b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override
fe6a37a1e22fbf29a8b6de3b3e137bc19becd6d80d391ad1a0c7908cb996dd9982c88ef55b84fd258a81263e37d47df5a81566ce7c337886ae4c0d7a83d640aa 001-screensaver.gschema.override
c69d44f1c69e3880ba822a4b98bc59f4049f7b8e228bec31076b9d3fa510e8e205ecf7e3e4b7b00fb28b39a447a55126aaede7e5e5741350aff2a37172b77659 10_caja_single-click.gschema.override
edef87a2b88a09d023dd51e8b32e2fc1cc9f5bec4a00b88b4f2adfb844ae2dc72747ef8891fc8a08652ae563fb1b914fba214c28a93e77de76b489a5fb50a96c 10_mate-terminal_colors.gschema.override
ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override
225c4d1bccad4bdacad34958322015147077158b395b8db095b7afd47e18638044780b381124c3b82bf639af66ea565e1763c54ab9599ec13177c289e0d2a000 61-lightdm-autologin.conf
d598b806bf749e0fedfdaeb51aa035b3877fedf4adc123ce2e50aef20f3cc6727b520a379aa26e88f9a2fe0f1fb96c4682895bb49c6a9cf4b5a5fd963ea93747 onboard-autostart.desktop
b626c8b27d9418df15124d6e97f5174c173863536e9c3eebfb11473d764c81e1db40cf4b7cdabe44b67a0e295d920c7a849a3e2e40dd86402de8200242c7b05a unclutter-xfixes.desktop
"