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.
This commit is contained in:
1 file changed
+9
-2
@@ -1,7 +1,7 @@
|
|||||||
# Maintainer: GM <gianmarcomorales@icloud.com>
|
# Maintainer: GM <gianmarcomorales@icloud.com>
|
||||||
|
|
||||||
pkgname=flea
|
pkgname=flea
|
||||||
pkgver=0.3.4
|
pkgver=0.3.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Fast, keyboard-first file manager for Omarchy'
|
pkgdesc='Fast, keyboard-first file manager for Omarchy'
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
@@ -42,6 +42,7 @@ optdepends=(
|
|||||||
'7zip: 7z archive support'
|
'7zip: 7z archive support'
|
||||||
'dropbox-cli: Dropbox browsing and share links'
|
'dropbox-cli: Dropbox browsing and share links'
|
||||||
'ffmpeg: media metadata previews'
|
'ffmpeg: media metadata previews'
|
||||||
|
'ffmpegthumbnailer: video thumbnails'
|
||||||
'imagemagick: image conversion'
|
'imagemagick: image conversion'
|
||||||
'libarchive: archive listing and extraction'
|
'libarchive: archive listing and extraction'
|
||||||
'tailscale: Taildrop sharing'
|
'tailscale: Taildrop sharing'
|
||||||
@@ -52,7 +53,7 @@ options=('!debug')
|
|||||||
source=(
|
source=(
|
||||||
"$url/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz"
|
"$url/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz"
|
||||||
)
|
)
|
||||||
sha256sums=('e5ad258126ae796d262b51254bfbd4a768416ae4d02da772663e6e24c90cdfe4')
|
sha256sums=('947bd1ad17238e6402af044f848662a4c20e9a82e5a61062ef2e10bb6c2d4cfe')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
@@ -197,12 +198,18 @@ package() {
|
|||||||
install -Dm644 packaging/com.thisisgm.flea.svg \
|
install -Dm644 packaging/com.thisisgm.flea.svg \
|
||||||
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.thisisgm.flea.svg"
|
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.thisisgm.flea.svg"
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
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/qmldir ui/*.qml -t "$pkgdir/usr/share/flea/ui"
|
||||||
install -Dm644 ui/js/*.js -t "$pkgdir/usr/share/flea/ui/js"
|
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.
|
# 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 \
|
install -Dm644 shelf/manifest.json shelf/README.md shelf/*.qml shelf/*.js \
|
||||||
-t "$pkgdir/usr/share/flea/shelf"
|
-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/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/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"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user