From f234bfffc6ff7946f6cd2d7ae7749571715fe9b2 Mon Sep 17 00:00:00 2001 From: GM Date: Sun, 27 Sep 2026 16:12:36 -0400 Subject: [PATCH] flea: update to 0.3.5, install ui/boot and the removal hook 0.3.2 moved the Quickshell entries into ui/boot, and the 0.3.4-1 package here does not install them, so flea exits with "the shell config is missing" (thisisgm/flea#216). This installs ui/boot with its Commons and Ui links, bumps to 0.3.5, and ships the pacman hook that notes on removal what flea --default and --picker left behind. --- pkgbuilds/flea/PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgbuilds/flea/PKGBUILD b/pkgbuilds/flea/PKGBUILD index ab73f77..b71f5d6 100644 --- a/pkgbuilds/flea/PKGBUILD +++ b/pkgbuilds/flea/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: GM pkgname=flea -pkgver=0.3.4 +pkgver=0.3.5 pkgrel=1 pkgdesc='Fast, keyboard-first file manager for Omarchy' arch=('x86_64' 'aarch64') @@ -42,6 +42,7 @@ optdepends=( '7zip: 7z archive support' 'dropbox-cli: Dropbox browsing and share links' 'ffmpeg: media metadata previews' + 'ffmpegthumbnailer: video thumbnails' 'imagemagick: image conversion' 'libarchive: archive listing and extraction' 'tailscale: Taildrop sharing' @@ -52,7 +53,7 @@ options=('!debug') source=( "$url/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz" ) -sha256sums=('e5ad258126ae796d262b51254bfbd4a768416ae4d02da772663e6e24c90cdfe4') +sha256sums=('947bd1ad17238e6402af044f848662a4c20e9a82e5a61062ef2e10bb6c2d4cfe') build() { cd "$pkgname-$pkgver" @@ -197,12 +198,18 @@ package() { install -Dm644 packaging/com.thisisgm.flea.svg \ "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.thisisgm.flea.svg" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # 0.3.5 notes on removal what flea --default and flea --picker leave in each user's config. + install -Dm644 packaging/flea.hook -t "$pkgdir/usr/share/libalpm/hooks" install -Dm644 ui/qmldir ui/*.qml -t "$pkgdir/usr/share/flea/ui" install -Dm644 ui/js/*.js -t "$pkgdir/usr/share/flea/ui/js" + # 0.3.2 launches from ui/boot, which keeps ui/qmldir's singletons off the startup path. + install -Dm644 ui/boot/shell.qml ui/boot/picker.qml -t "$pkgdir/usr/share/flea/ui/boot" # Flea's Shelf setting installs this plugin into the user's plugin directory. install -Dm644 shelf/manifest.json shelf/README.md shelf/*.qml shelf/*.js \ -t "$pkgdir/usr/share/flea/shelf" ln -s /usr/share/omarchy/shell/Commons "$pkgdir/usr/share/flea/ui/Commons" ln -s /usr/share/omarchy/shell/Ui "$pkgdir/usr/share/flea/ui/Ui" + ln -s /usr/share/omarchy/shell/Commons "$pkgdir/usr/share/flea/ui/boot/Commons" + ln -s /usr/share/omarchy/shell/Ui "$pkgdir/usr/share/flea/ui/boot/Ui" }