latchshot-git

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-git
4pkgver=0.2.5.r2.gff5e13e
5pkgrel=2
6pkgdesc='A lightweight yet intelligent window-aware screenshot tool for Wayland'
7arch=('x86_64')
8url='https://github.com/so1ve/latchshot'
9license=('MIT')
10makedepends=('git' 'cargo')
11depends=('gcc-libs' 'glibc' 'libxkbcommon' 'wayland' 'wl-clipboard')
12provides=("latchshot=$pkgver")
13conflicts=('latchshot' 'latchshot-bin')
14source=("$pkgname::git+$url.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$pkgname"
19 (
20 set -o pipefail
21 git describe --long --abbrev=7 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
22 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
23 )
24}
25
26prepare() {
27 cd "$pkgname"
28 export RUSTUP_TOOLCHAIN=stable
29 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
30}
31
32build() {
33 cd "$pkgname"
34 export RUSTUP_TOOLCHAIN=stable
35 export CARGO_TARGET_DIR=target
36 cargo build --frozen --release
37}
38
39check() {
40 cd "$pkgname"
41 export RUSTUP_TOOLCHAIN=stable
42 export CARGO_TARGET_DIR=target
43 cargo test --frozen --release
44}
45
46package() {
47 cd "$pkgname"
48 install -Dm755 target/release/latchshot -t "$pkgdir/usr/bin/"
49 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
50}
51

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