crabber-git

LOW
maintainer dimariqe 0 votes scanned 2026-10-23 07:37:02.440193
View on AUR
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
10pkgname=crabber-git
11pkgver=0.1.0.r1.geff2512
12pkgrel=1
13pkgdesc='XMPP messenger built on GPUI (git version)'
14arch=('x86_64')
15url="$_giturl"
16license=('Apache-2.0')
17makedepends=(
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)
23depends=(
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)
34provides=('crabber')
35conflicts=('crabber' 'crabber-bin')
36source=("git+${_giturl}.git")
37sha256sums=('SKIP')
38options=('!lto') # LTO is managed by the cargo release profile
39
40pkgver() {
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
47build() {
48 cd "${srcdir}/${_gitname}"
49 cargo build --release --locked
50}
51
52package() {
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]
65Type=Application
66Name=Crabber
67Comment=XMPP messenger
68Exec=crabber
69Icon=crabber
70Terminal=false
71Categories=Network;InstantMessaging;Chat;
72EOF
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-10-23 07:37:02 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion