2021-05-05 16:20:25 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=xfce4
|
|
|
|
_reponame=arch
|
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-06-19 21:20:25 +02:00
|
|
|
pkgver=0.0.20
|
2021-05-05 16:20:25 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="XFCE4 with configuration"
|
|
|
|
arch=('any')
|
|
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
|
|
license=('MIT')
|
2021-05-11 17:13:04 +02:00
|
|
|
makedepends=('git')
|
|
|
|
install='.install'
|
|
|
|
source=("git+${url}.git")
|
|
|
|
sha256sums=('SKIP')
|
2021-05-05 16:20:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
depends=()
|
|
|
|
|
2021-05-05 17:14:04 +02:00
|
|
|
# ============== base, drivers and xorg ==============
|
2021-05-11 17:13:04 +02:00
|
|
|
depends+=('de-p1st-base')
|
2021-05-05 17:20:11 +02:00
|
|
|
depends+=('de-p1st-gpu')
|
|
|
|
depends+=('xorg-meta')
|
2021-05-05 16:20:25 +02:00
|
|
|
|
2021-05-05 16:54:51 +02:00
|
|
|
# ============== XFCE4 ==============
|
2021-05-05 16:20:25 +02:00
|
|
|
#
|
|
|
|
# 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-archive-plugin 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
|
2021-06-19 21:20:25 +02:00
|
|
|
# -> https://wiki.archlinux.org/title/GNOME/Keyring#Installation
|
2021-05-05 16:20:25 +02:00
|
|
|
depends+=(gnome-keyring libsecret)
|
2021-05-11 17:53:25 +02:00
|
|
|
#
|
|
|
|
# bluelight filter
|
|
|
|
depends+=(de-p1st-redshift)
|
2021-05-05 16:20:25 +02:00
|
|
|
|
|
|
|
# ============== display manager ==============
|
2021-05-14 12:51:26 +02:00
|
|
|
# sddm with autologin
|
2021-06-18 21:46:50 +02:00
|
|
|
# depends+=(de-p1st-sddm-autologin)
|
|
|
|
#
|
2021-05-14 15:25:25 +02:00
|
|
|
# sddm themeing
|
|
|
|
depends+=(de-p1st-sddm-theme)
|
2021-05-05 16:20:25 +02:00
|
|
|
|
2021-05-05 16:54:51 +02:00
|
|
|
# ============== network, theme, keyboard ==============
|
|
|
|
#
|
|
|
|
# NetworkManager applet
|
|
|
|
depends+=(network-manager-applet) # depends on networkmanager
|
|
|
|
#
|
|
|
|
# gtk and qt theme
|
|
|
|
depends+=(de-p1st-theme)
|
|
|
|
#
|
2021-05-11 17:53:25 +02:00
|
|
|
# x11 keyboard layouts
|
2021-05-05 16:54:51 +02:00
|
|
|
depends+=(de-p1st-keyboard-x11)
|
|
|
|
|
2021-06-15 20:49:47 +02:00
|
|
|
# ============== wallpaper ==============
|
|
|
|
depends+=(de-p1st-wallpaper)
|
2021-06-18 21:46:50 +02:00
|
|
|
# ============== browser ==============
|
|
|
|
depends+=(firefox)
|
2021-05-05 16:20:25 +02:00
|
|
|
|
2021-06-19 21:20:25 +02:00
|
|
|
|
|
|
|
# https://wiki.archlinux.org/title/GNOME/Keyring#Manage_using_GUI
|
|
|
|
optdepends=('seahorse: Manage the contents of GNOME Keyring; manage GPG keys')
|
|
|
|
|
2021-05-05 16:20:25 +02:00
|
|
|
package() {
|
|
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
|
2021-05-14 15:12:23 +02:00
|
|
|
install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face
|
2021-05-05 16:20:25 +02:00
|
|
|
|
2021-05-24 17:14:34 +02:00
|
|
|
# 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!
|
|
|
|
|
2021-06-18 19:32:30 +02:00
|
|
|
# See comments in individual files in directory "config"
|
2021-05-24 18:05:04 +02:00
|
|
|
mkdir -p "$pkgdir"/etc/skel/
|
2021-05-24 17:27:37 +02:00
|
|
|
cp -ra config "$pkgdir"/etc/skel/.config
|
2021-05-11 17:13:04 +02:00
|
|
|
|
2021-05-05 16:20:25 +02:00
|
|
|
# === display manager ===
|
2021-05-11 23:12:05 +02:00
|
|
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
2021-05-14 11:07:56 +02:00
|
|
|
install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf
|
2021-05-05 16:20:25 +02:00
|
|
|
}
|