chatwithwork-desktop

LOW
maintainer crmne 0 votes scanned 2026-10-24 07:39:45.568380
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: Carmine Paolino <carmine@paolino.me>
2pkgname=chatwithwork-desktop
3pkgver=0.4.0
4pkgrel=1
5pkgdesc="Chat with Work Desktop: the desktop app, terminal interface and background agent"
6arch=('x86_64' 'aarch64')
7url="https://github.com/crmne/chatwithwork-desktop"
8license=('MIT OR Apache-2.0')
9install="${pkgname}.install"
10depends=('alsa-lib' 'libpipewire' 'glibc' 'gcc-libs' 'webkit2gtk-4.1' 'gtk3' 'libayatana-appindicator' 'dbus')
11makedepends=('cargo' 'pkgconf' 'cmake' 'clang')
12optdepends=('org.freedesktop.secrets: store the device key in your keyring'
13 'xdg-desktop-portal: native folder picker'
14 'sane: scan with a USB scanner'
15 'tesseract: make scans searchable (with tesseract-data-<language>)'
16 'systemd: start the agent now and at login with cww daemon install')
17provides=('cww' 'cww-app')
18conflicts=('cww' 'chatwithwork-desktop-bin' 'chatwithwork-desktop-git')
19# !lto because ring compiles its own C and Arch's default CFLAGS put LTO
20# objects in the archive, which the linker then cannot resolve. !debug
21# because the release profile strips symbols, so a debug package would be
22# empty.
23options=('!debug' '!lto')
24source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crmne/chatwithwork-desktop/archive/refs/tags/v${pkgver}.tar.gz")
25sha256sums=('f772d4262c2055eb8fe088c04295ce45214fca1e9a7bd1f1da321270b90263a9')
26
27prepare() {
28 cd "${srcdir}/chatwithwork-desktop-${pkgver}"
29 export RUSTUP_TOOLCHAIN=stable
30 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
31}
32
33build() {
34 cd "${srcdir}/chatwithwork-desktop-${pkgver}"
35 export RUSTUP_TOOLCHAIN=stable
36 export CARGO_TARGET_DIR=target
37 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=${srcdir}=/"
38 cargo build --frozen --release --workspace
39}
40
41check() {
42 cd "${srcdir}/chatwithwork-desktop-${pkgver}"
43 export RUSTUP_TOOLCHAIN=stable
44 export CARGO_TARGET_DIR=target
45 cargo test --frozen --release --workspace
46}
47
48package() {
49 cd "${srcdir}/chatwithwork-desktop-${pkgver}"
50 install -Dm755 target/release/cww "${pkgdir}/usr/bin/cww"
51 install -Dm755 target/release/cww-app "${pkgdir}/usr/bin/cww-app"
52 install -Dm644 packaging/linux/cww-app.desktop "${pkgdir}/usr/share/applications/cww-app.desktop"
53 install -Dm644 app/assets/mark.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/cww-app.svg"
54 install -Dm644 packaging/systemd/cww.service "${pkgdir}/usr/lib/systemd/user/cww.service"
55 install -Dm644 README.md PROTOCOL.md SECURITY.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
56 install -Dm644 LICENSE-MIT LICENSE-APACHE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
57}
58

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 07:39:45 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