diff --git a/pkg/de-p1st-xfce4/.install b/pkg/de-p1st-xfce4/.install new file mode 100644 index 0000000..21cb3d8 --- /dev/null +++ b/pkg/de-p1st-xfce4/.install @@ -0,0 +1,10 @@ +## arg 1: the new package version +post_install() { + systemctl preset-all +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + systemctl preset-all +} diff --git a/pkg/de-p1st-xfce4/PKGBUILD b/pkg/de-p1st-xfce4/PKGBUILD index b2c3189..ce92fe3 100644 --- a/pkg/de-p1st-xfce4/PKGBUILD +++ b/pkg/de-p1st-xfce4/PKGBUILD @@ -2,18 +2,22 @@ _pkgname=xfce4 _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.2 +pkgver=0.0.3 pkgrel=1 pkgdesc="XFCE4 with configuration" arch=('any') url="https://codeberg.org/privacy1st/${_reponame}" license=('MIT') +makedepends=('git') +install='.install' +source=("git+${url}.git") +sha256sums=('SKIP') depends=() # ============== base, drivers and xorg ============== -depends+=('de-p1st-base-efi') +depends+=('de-p1st-base') depends+=('de-p1st-gpu') depends+=('xorg-meta') @@ -53,24 +57,17 @@ depends+=(de-p1st-theme) depends+=(de-p1st-keyboard-x11) -makedepends=('git') - -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= -source=("git+${url}.git") -noextract=() -sha256sums=('SKIP') - package() { cd "${_reponame}/pkg/${pkgname}" install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face + # TODO + # xfconf-query --create -c xfce4-desktop -p /desktop-icons/primary -t 'bool' -s 'true' || exit $? + # -> holo + # TODO: test the below + install -Dm0644 xfce4-desktop.xml /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml + # === display manager === install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset install -Dm0644 autologin.conf "$pkgdir"/etc/sddm.conf.d/autologin.conf diff --git a/pkg/de-p1st-xfce4/xfce4-desktop.xml b/pkg/de-p1st-xfce4/xfce4-desktop.xml new file mode 100644 index 0000000..f8d6064 --- /dev/null +++ b/pkg/de-p1st-xfce4/xfce4-desktop.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file