This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
evolution-packages/srcpkgs/evolution-desktop/template

36 lines
1.7 KiB
Bash

pkgname=evolution-desktop
version=1.1
revision=13
build_style=meta
maintainer="Tracker-Friendly <jliwin98@danwin1210.de>"
short_desc="Desktop and Greeter for EvolutionOS"
license="GPL-3.0"
homepage="https://hectabit.org/evolutionos"
depends="wayfire greetd wf-shell wcm mesa mesa-dri elogind polkit mate-polkit greetd-gtkgreet gtkloadspinner dbus dconf nautilus alacritty pipewire wireplumber slurp grim alsa-pipewire gnome-system-monitor upower brightnessctl gnome-themes-extra dejavu-fonts-ttf xdg-desktop-portal-wlr xdg-desktop-portal-gtk swaylock swayidle wpa_supplicant wpa-cute evolution-theme-switcher xorg-server-xwayland gvfs"
conf_files="/usr/bin/Wayfire /usr/bin/startsession"
do_install() {
#!/bin/bash
mkdir -p ${DESTDIR}/etc/runit/runsvdir/default
cp -r ${FILESDIR}/var/service/* ${DESTDIR}/etc/runit/runsvdir/default/
mkdir -p ${DESTDIR}/etc/dinit.d/
cp -r ${FILESDIR}/etc/dinit.d/* ${DESTDIR}/etc/dinit.d/
vbin ${FILESDIR}/bin/Wayfire
vbin ${FILESDIR}/bin/startsession
vbin ${FILESDIR}/bin/audioctl
vbin ${FILESDIR}/bin/enabledesktop
touch /usr/bin/Wayfire
chmod +x /usr/bin/Wayfire
ln /usr/bin/Wayfire ${DESTDIR}/usr/bin/evolution-desktop
rm -f /usr/bin/Wayfire
mkdir -p ${DESTDIR}/etc/greetd
cp ${FILESDIR}/etc/greetd/environments ${DESTDIR}/etc/greetd
cp ${FILESDIR}/etc/greetd/wallpaper.png ${DESTDIR}/etc/greetd/
cp ${FILESDIR}/etc/greetd/config.toml ${DESTDIR}/etc/greetd/config.toml.2
mkdir -p ${DESTDIR}/etc/greetd/greeter/.config
cp -r ${FILESDIR}/home/greeter/* ${DESTDIR}/etc/greetd/greeter/.config
mkdir -p ${DESTDIR}/usr/share/wayfire
cp -r ${FILESDIR}/usr/share/wayfire/* ${DESTDIR}/usr/share/wayfire/
}