From dac9d3d2681c8298fdbdce4f4d025130d176ed76 Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Tue, 29 Oct 2024 14:45:02 +0100 Subject: [PATCH] Bump version --- packages/applications/athena-welcome/PKGBUILD | 2 +- packages/os-specific/athena-config/PKGBUILD | 6 +++--- .../etc/pacman.d/hooks/gdm-theme-backup.hook | 12 ++++++++++++ .../etc/pacman.d/hooks/gdm-theme-restore.hook | 12 ++++++++++++ 4 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-backup.hook create mode 100644 packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-restore.hook diff --git a/packages/applications/athena-welcome/PKGBUILD b/packages/applications/athena-welcome/PKGBUILD index 732c85a8b..795196998 100644 --- a/packages/applications/athena-welcome/PKGBUILD +++ b/packages/applications/athena-welcome/PKGBUILD @@ -1,5 +1,5 @@ pkgname=athena-welcome -pkgver=29.adcaf3d +pkgver=31.5318c49 pkgrel=1 pkgdesc='Welcome App for Athena.' arch=('any') diff --git a/packages/os-specific/athena-config/PKGBUILD b/packages/os-specific/athena-config/PKGBUILD index 29472fc23..7743a5be7 100644 --- a/packages/os-specific/athena-config/PKGBUILD +++ b/packages/os-specific/athena-config/PKGBUILD @@ -1,12 +1,12 @@ pkgname=athena-config -pkgver=1.0.6 -pkgrel=8 +pkgver=1.0.7 +pkgrel=1 pkgdesc="System configuration for Athena." arch=('any') license=("custom") depends=('athena-theme-tweak' 'terminus-font') source=("$pkgname.tar.gz") -sha512sums=('3fb97ced0a63dd150b88f4c0609c5d2d0566799baac467adf314d46e2b0abc3437f29c46dfdc51254a50f7194a7c6f8a22857ddf59994c7e3e67fabb642fdcda') +sha512sums=('b22a3214fc9d652cc356485d1658b71a2f5c8d5b3b8a15e19c79c031dec077baf8f3151fdebc0d45c3324824d6370c5ba3fad8e0a58a04e82d7149a2fcfeac09') package() { install -dm 755 "${pkgdir}/usr/bin" diff --git a/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-backup.hook b/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-backup.hook new file mode 100644 index 000000000..e7c0a708b --- /dev/null +++ b/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-backup.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = gnome-shell +Target = gnome-shell-performance + +[Action] +Description = Backup gnome-shell-theme.gresource before installation +When = PreTransaction +Exec = /bin/sh -c "cp /usr/share/gnome-shell/gnome-shell-theme.gresource /usr/share/gnome-shell/gnome-shell-theme.gresource.bak" diff --git a/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-restore.hook b/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-restore.hook new file mode 100644 index 000000000..ec7c05c33 --- /dev/null +++ b/packages/os-specific/athena-config/etc/pacman.d/hooks/gdm-theme-restore.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = gnome-shell +Target = gnome-shell-performance + +[Action] +Description = Restore gnome-shell-theme.gresource after installation +When = PostTransaction +Exec = /bin/sh -c "if [ -f /usr/share/gnome-shell/gnome-shell-theme.gresource.bak ]; then mv /usr/share/gnome-shell/gnome-shell-theme.gresource.bak /usr/share/gnome-shell/gnome-shell-theme.gresource; fi"