snypr-git
LOW
maintainer noirbizarre
0 votes
scanned 2026-08-19 03:41:13.749572
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: Axel Haustant <noirbizarre@gmail.com>
2
#
3
# VCS package: tracks the `main` branch. `pkgver` is derived by makepkg, so this
4
# PKGBUILD carries no `@VERSION@` placeholder.
5
6
pkgname=snypr-git
7
_pkgname=snypr
8
pkgver=0.3.0.r0.g0ee5984
9
pkgrel=1
10
pkgdesc="Screenshot, annotation, and live-drawing tool for Hyprland and wlroots compositors (git)"
11
arch=('x86_64')
12
url="https://github.com/noirbizarre/snypr"
13
license=('MIT')
14
# `desktop-file-utils` and `hicolor-icon-theme` provide the pacman hooks that
15
# refresh the desktop database and the icon cache, which is why this package
16
# ships no .install file.
17
depends=('gtk4' 'gtk4-layer-shell' 'wayland' 'hicolor-icon-theme' 'desktop-file-utils')
18
makedepends=('git' 'rust' 'pkgconf')
19
optdepends=(
20
'libnotify: desktop notifications (any notification daemon, e.g. mako, dunst, swaync)'
21
'waybar: StatusNotifierItem host for `snypr daemon --systray` (any SNI host works)'
22
)
23
provides=("$_pkgname=$pkgver")
24
conflicts=("$_pkgname")
25
source=("$_pkgname::git+$url.git")
26
sha256sums=('SKIP')
27
28
pkgver() {
29
cd "$_pkgname"
30
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
31
printf "0.0.0.r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
32
}
33
34
build() {
35
cd "$_pkgname"
36
cargo build --release --locked
37
}
38
39
check() {
40
cd "$_pkgname"
41
cargo test --release --locked
42
}
43
44
package() {
45
cd "$_pkgname"
46
47
install -Dm755 target/release/snypr "$pkgdir/usr/bin/snypr"
48
install -Dm644 -t "$pkgdir/usr/share/applications" data/applications/*.desktop
49
install -Dm644 docs/man/snypr.1 "$pkgdir/usr/share/man/man1/snypr.1"
50
51
local size
52
for size in 16x16 32x32 48x48 64x64 128x128 256x256 512x512; do
53
install -Dm644 \
54
"data/icons/hicolor/$size/apps/noirbizar.re.Snypr.png" \
55
"$pkgdir/usr/share/icons/hicolor/$size/apps/noirbizar.re.Snypr.png"
56
done
57
install -Dm644 \
58
data/icons/hicolor/scalable/apps/noirbizar.re.Snypr.svg \
59
"$pkgdir/usr/share/icons/hicolor/scalable/apps/noirbizar.re.Snypr.svg"
60
61
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
62
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
63
}
64
Changes since previous scan
--- PKGBUILD @ 2026-08-16 00:03+++ PKGBUILD @ 2026-08-19 03:41@@ -5,7 +5,7 @@ pkgname=snypr-git _pkgname=snypr-pkgver=0.2.0.r0.g89de105+pkgver=0.3.0.r0.g0ee5984 pkgrel=1 pkgdesc="Screenshot, annotation, and live-drawing tool for Hyprland and wlroots compositors (git)" arch=('x86_64')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-19 03:41:13 | Low | 1 |
| 2026-08-16 00:03:42 | Clean | 2 |
| 2026-08-15 05:30:14 | Low | 1 |
| 2026-08-15 00:26:13 | Clean | 2 |
| 2026-08-14 23:30:04 | Low | 1 |