latchshot

LOW
maintainer mzwing 0 votes scanned 2026-08-23 17:21:15.843281
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: mzwing <mzwing@mzwing.eu.org>
2
3pkgname=latchshot
4_pkgver=0.2.5
5pkgver=${_pkgver//-/_}
6pkgrel=1
7pkgdesc='A lightweight yet intelligent window-aware screenshot tool for Wayland'
8arch=('x86_64')
9url='https://github.com/so1ve/latchshot'
10license=('MIT')
11makedepends=('cargo')
12depends=('gcc-libs' 'glibc' 'libxkbcommon' 'wayland' 'wl-clipboard')
13source=("$pkgname-$_pkgver.tar.gz::$url/archive/refs/tags/v$_pkgver.tar.gz")
14sha256sums=('b669173b15fab5b009447512a468e8c58ada2495152892bcd336ac0ccbe4ab2f')
15
16prepare() {
17 cd "$pkgname-$_pkgver"
18 export RUSTUP_TOOLCHAIN=stable
19 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
20}
21
22build() {
23 cd "$pkgname-$_pkgver"
24 export RUSTUP_TOOLCHAIN=stable
25 export CARGO_TARGET_DIR=target
26 cargo build --frozen --release
27}
28
29check() {
30 cd "$pkgname-$_pkgver"
31 export RUSTUP_TOOLCHAIN=stable
32 export CARGO_TARGET_DIR=target
33 cargo test --frozen --release
34}
35
36package() {
37 cd "$pkgname-$_pkgver"
38 install -Dm755 target/release/latchshot -t "$pkgdir/usr/bin/"
39 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40}
41

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 17:21:15 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