flea
LOW
maintainer taxin
0 votes
scanned 2026-09-03 15:53:41.931206
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: GM <gianmarcomorales@icloud.com>
2
3
pkgname=flea
4
pkgver=0.1.2
5
pkgrel=1
6
pkgdesc='Fast, keyboard-first file manager for Omarchy'
7
arch=('x86_64')
8
url='https://github.com/thisisgm/flea'
9
license=('MIT')
10
# omarchy owns /usr/share/omarchy/shell, which ui/Commons and ui/Ui link into; quickshell owns qs.
11
depends=('bubblewrap' 'glib2' 'omarchy' 'quickshell' 'shared-mime-info' 'xdg-utils')
12
makedepends=('cargo')
13
optdepends=('libarchive: archive listing and extraction'
14
'7zip: 7z archive support'
15
'imagemagick: image conversion'
16
'tailscale: Taildrop sharing')
17
# The release profile strips, so a debug package would have nothing to hold.
18
options=('!debug')
19
source=("$pkgname-$pkgver.tar.gz::https://github.com/thisisgm/flea/archive/refs/tags/v$pkgver.tar.gz")
20
sha256sums=('3788a735be2cb6eef0c1770833c82bc6591e20b7681fe02172aaea21c2a2d8fb')
21
22
build() {
23
cd "$pkgname-$pkgver"
24
export CARGO_TARGET_DIR="$srcdir/target"
25
cargo build --release --locked
26
}
27
28
check() {
29
cd "$pkgname-$pkgver"
30
export CARGO_TARGET_DIR="$srcdir/target"
31
cargo test --release --locked
32
# These two need no built binary and locate themselves, so they run correctly under makepkg.
33
./tests/js.sh
34
./tests/keymap-gen.sh
35
}
36
37
package() {
38
cd "$pkgname-$pkgver"
39
install -Dm755 "$srcdir/target/release/flea" "$pkgdir/usr/bin/flea"
40
install -Dm644 packaging/com.thisisgm.flea.desktop -t "$pkgdir/usr/share/applications"
41
install -Dm644 packaging/com.thisisgm.flea.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
42
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
43
44
# paths.rs looks for /usr/share/flea/ui/shell.qml, so the UI ships as data beside the binary.
45
install -Dm644 ui/qmldir ui/*.qml -t "$pkgdir/usr/share/flea/ui"
46
install -Dm644 ui/js/*.js -t "$pkgdir/usr/share/flea/ui/js"
47
# Commons and Ui are Omarchy's own, reached as qs.Commons: the checkout links them and so does the package.
48
ln -s /usr/share/omarchy/shell/Commons "$pkgdir/usr/share/flea/ui/Commons"
49
ln -s /usr/share/omarchy/shell/Ui "$pkgdir/usr/share/flea/ui/Ui"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-03 15:53:41 | Low | 1 |