flea-git
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: taxin-404 <taxin404@duck.com>
2
3
pkgname=flea-git
4
pkgver=0.1.2.r3.g0654cf1
5
pkgrel=1
6
pkgdesc='Fast, keyboard-first file manager for Omarchy (git version)'
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' 'git')
13
optdepends=('libarchive: archive listing and extraction'
14
'7zip: 7z archive support'
15
'imagemagick: image conversion'
16
'tailscale: Taildrop sharing')
17
provides=('flea')
18
conflicts=('flea')
19
options=('!debug')
20
source=("$pkgname::git+https://github.com/thisisgm/flea.git")
21
sha256sums=('SKIP')
22
23
pkgver() {
24
cd "$pkgname"
25
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
26
}
27
28
build() {
29
cd "$pkgname"
30
export CARGO_TARGET_DIR="$srcdir/target"
31
cargo build --release --locked
32
}
33
34
check() {
35
cd "$pkgname"
36
export CARGO_TARGET_DIR="$srcdir/target"
37
cargo test --release --locked
38
# These two need no built binary and locate themselves, so they run correctly under makepkg.
39
./tests/js.sh
40
./tests/keymap-gen.sh
41
}
42
43
package() {
44
cd "$pkgname"
45
install -Dm755 "$srcdir/target/release/flea" "$pkgdir/usr/bin/flea"
46
install -Dm644 packaging/com.thisisgm.flea.desktop -t "$pkgdir/usr/share/applications"
47
install -Dm644 packaging/com.thisisgm.flea.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
48
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
49
50
# paths.rs looks for /usr/share/flea/ui/shell.qml, so the UI ships as data beside the binary.
51
install -Dm644 ui/qmldir ui/*.qml -t "$pkgdir/usr/share/flea/ui"
52
install -Dm644 ui/js/*.js -t "$pkgdir/usr/share/flea/ui/js"
53
# Commons and Ui are Omarchy's own, reached as qs.Commons: the checkout links them and so does the package.
54
ln -s /usr/share/omarchy/shell/Commons "$pkgdir/usr/share/flea/ui/Commons"
55
ln -s /usr/share/omarchy/shell/Ui "$pkgdir/usr/share/flea/ui/Ui"
56
}
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-03 15:53:41 | Low | 1 |