mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
110 lines
3.4 KiB
Bash
110 lines
3.4 KiB
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=xfce4
|
|
_reponame=arch
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.0.29
|
|
pkgrel=1
|
|
pkgdesc="XFCE4 with configuration"
|
|
arch=('any')
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
license=('MIT')
|
|
makedepends=('git')
|
|
backup=('etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml') # de-p1st-xfce4-hidpi changes this file through holo
|
|
install='.install'
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
depends=()
|
|
|
|
# ============== base, drivers and xorg ==============
|
|
depends+=('de-p1st-base')
|
|
depends+=('de-p1st-gpu')
|
|
depends+=('xorg-meta')
|
|
|
|
# ============== XFCE4 ==============
|
|
#
|
|
# xfce4 group
|
|
# pacman -Sg xfce4 | sed 's|^xfce4 |depends+=(|; s|$|)|'
|
|
depends+=(xfce4-meta)
|
|
# some pkgs from xfce4-goodies group, except e.g.
|
|
# ristretto (image viewer)
|
|
# xfce4-artwork
|
|
# xfce4-time-out-plugin (take breaks)
|
|
# xfce4-timer-plugin
|
|
# xfce4-xkb-plugin (keyboard layouts)
|
|
depends+=(mousepad thunar-media-tags-plugin xfce4-genmon-plugin xfce4-notifyd xfce4-screensaver xfce4-screenshooter xfce4-weather-plugin xfce4-whiskermenu-plugin)
|
|
#
|
|
# thunar optional dependencies:
|
|
# - gvfs: for trash support, mounting with udisk and remote
|
|
# filesystems (e.g. webdav)
|
|
depends+=(gvfs)
|
|
# keyring/secrets
|
|
# -> https://wiki.archlinux.org/title/GNOME/Keyring#Installation
|
|
depends+=(gnome-keyring libsecret)
|
|
#
|
|
# bluelight filter
|
|
depends+=(de-p1st-redshift)
|
|
|
|
# ============== display manager ==============
|
|
# sddm with autologin
|
|
# depends+=(de-p1st-sddm-autologin)
|
|
#
|
|
# sddm themeing
|
|
depends+=(de-p1st-sddm-theme)
|
|
|
|
# ============== audio ==============
|
|
# pulseaudio - base
|
|
depends+=('pulseaudio' 'pulseaudio-alsa' 'pavucontrol')
|
|
# pulseaudio - xfce4
|
|
depends+=('xfce4-pulseaudio-plugin')
|
|
# sound theme
|
|
depends+=('libcanberra' 'libcanberra-pulse')
|
|
|
|
# ============== bluetooth (TODO) ==============
|
|
depends+=('toggle-bluetooth')
|
|
|
|
# ============== network, theme, wallpaper, keyboard ==============
|
|
#
|
|
# NetworkManager and NetworkManager applet
|
|
depends+=(network-manager-applet) # depends on networkmanager
|
|
#
|
|
# gtk and qt theme
|
|
depends+=(de-p1st-theme)
|
|
#
|
|
# wallpaper
|
|
depends+=(de-p1st-wallpaper)
|
|
#
|
|
# x11 keyboard layouts
|
|
depends+=(de-p1st-keyboard-x11)
|
|
|
|
# ============== compression/archiving ==============
|
|
# https://docs.xfce.org/xfce/thunar/archive#supported_archive_managers
|
|
#depends+=(thunar-archive-plugin xarchiver p7zip unzip zip unrar)
|
|
depends+=(thunar-archive-plugin file-roller p7zip unrar)
|
|
|
|
|
|
# https://wiki.archlinux.org/title/GNOME/Keyring#Manage_using_GUI
|
|
optdepends=('seahorse: Manage the contents of GNOME Keyring; manage GPG keys')
|
|
|
|
package() {
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face
|
|
|
|
# Adding a xml configuration to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/*.xml does not work.
|
|
# (It will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml)
|
|
# Thus we place it in the skeleton for new users!
|
|
|
|
# See comments in individual files in directory "config"
|
|
mkdir -p "$pkgdir"/etc/skel/
|
|
cp -ra config "$pkgdir"/etc/skel/.config
|
|
|
|
# === shortcuts ===
|
|
install -Dm0544 xfce4-keyboard-shortcuts.xml.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml.holoscript
|
|
|
|
# === display manager ===
|
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
|
install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf
|
|
}
|