crabber-git
LOW
maintainer dimariqe
0 votes
scanned 2026-10-23 07:37:02.440193
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: Medvedinca <TODO: replace with your AUR account e-mail>
2
#
3
# VCS package (file dist/PKGBUILD-git): builds from the main branch of the
4
# Crabber repository. The AUR version is updated by .github/workflows/aur.yml
5
# (job git-package), which substitutes pkgver with the value computed by pkgver().
6
7
_gitname='crabber'
8
_giturl="https://github.com/auf-gg/${_gitname}"
9
10
pkgname=crabber-git
11
pkgver=0.1.0.r1.geff2512
12
pkgrel=1
13
pkgdesc='XMPP messenger built on GPUI (git version)'
14
arch=('x86_64')
15
url="$_giturl"
16
license=('Apache-2.0')
17
makedepends=(
18
'rust>=1.97' # pinned in rust-toolchain.toml; gpui-pre needs >=1.93 (std::hint::cold_path)
19
'clang' # bindgen (gpui/blade)
20
'pkgconf'
21
'vulkan-headers'
22
)
23
depends=(
24
'libxkbcommon'
25
'wayland'
26
'libx11'
27
'libxcb'
28
'fontconfig'
29
'freetype2'
30
'alsa-lib' # cpal
31
'vulkan-icd-loader' # gpui/blade
32
'dbus' # ksni, notify-rust
33
)
34
provides=('crabber')
35
conflicts=('crabber' 'crabber-bin')
36
source=("git+${_giturl}.git")
37
sha256sums=('SKIP')
38
options=('!lto') # LTO is managed by the cargo release profile
39
40
pkgver() {
41
cd "${srcdir}/${_gitname}"
42
( set -o pipefail
43
git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
44
) || printf '0.0.0.r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
45
}
46
47
build() {
48
cd "${srcdir}/${_gitname}"
49
cargo build --release --locked
50
}
51
52
package() {
53
cd "${srcdir}/${_gitname}"
54
55
install -Dm755 target/release/crabber "${pkgdir}/usr/bin/crabber"
56
57
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
58
59
install -Dm644 icon.png "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/crabber.png"
60
install -Dm644 icon.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/crabber.svg"
61
62
install -Dm644 /dev/null "${pkgdir}/usr/share/applications/crabber.desktop"
63
cat > "${pkgdir}/usr/share/applications/crabber.desktop" <<'EOF'
64
[Desktop Entry]
65
Type=Application
66
Name=Crabber
67
Comment=XMPP messenger
68
Exec=crabber
69
Icon=crabber
70
Terminal=false
71
Categories=Network;InstantMessaging;Chat;
72
EOF
73
}
74
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-23 07:37:02 | Low | 1 |