summaryrefslogtreecommitdiff
path: root/gnome-raveos/gnome-keyring
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-10-07 16:23:45 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-10-07 16:23:45 +0200
commita9ea38400a637107e16ff5cf56c3945244320fe2 (patch)
treef60436956aa5a3b210f8a89a0f7c3f67232bb4c6 /gnome-raveos/gnome-keyring
parentfb32fa2963f0887e71bfa9a6aac353405e4ad74f (diff)
downloadRaveOS-PKGBUILD-a9ea38400a637107e16ff5cf56c3945244320fe2.tar.gz
RaveOS-PKGBUILD-a9ea38400a637107e16ff5cf56c3945244320fe2.zip
gnome fos fix
Diffstat (limited to 'gnome-raveos/gnome-keyring')
-rw-r--r--gnome-raveos/gnome-keyring/PKGBUILD4
-rw-r--r--gnome-raveos/gnome-keyring/gnome-keyring.install14
2 files changed, 14 insertions, 4 deletions
diff --git a/gnome-raveos/gnome-keyring/PKGBUILD b/gnome-raveos/gnome-keyring/PKGBUILD
index 4e17c9a..d68c9cf 100644
--- a/gnome-raveos/gnome-keyring/PKGBUILD
+++ b/gnome-raveos/gnome-keyring/PKGBUILD
@@ -10,10 +10,6 @@ options=(!strip)
install=gnome-keyring.install
source=("gnome-keyring.pkg.tar.zst::https://archive.archlinux.org/packages/g/gnome-keyring/gnome-keyring-1:50.0-1-x86_64.pkg.tar.zst")
sha256sums=('96c5f9dfd143103781ba78be1ee28e3a756e454adeb8a1a097ac34f7f5faed08')
-prepare() {
- bsdtar -xf "$srcdir/gnome-keyring.pkg.tar.zst" -C "$srcdir" .INSTALL
- mv -f "$srcdir/.INSTALL" "$srcdir/gnome-keyring.install"
-}
package() {
bsdtar -xf "$srcdir/gnome-keyring.pkg.tar.zst" -C "$pkgdir" --exclude .PKGINFO --exclude .BUILDINFO --exclude .MTREE --exclude .INSTALL
}
diff --git a/gnome-raveos/gnome-keyring/gnome-keyring.install b/gnome-raveos/gnome-keyring/gnome-keyring.install
new file mode 100644
index 0000000..6143dd1
--- /dev/null
+++ b/gnome-raveos/gnome-keyring/gnome-keyring.install
@@ -0,0 +1,14 @@
+post_install() {
+ # Enable socket by default
+ systemctl --global enable gnome-keyring-daemon.socket
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 1:42.0-1) < 0)); then
+ systemctl --global enable gnome-keyring-daemon.socket
+ fi
+}
+
+pre_remove() {
+ systemctl --global disable gnome-keyring-daemon.socket
+}