peek2
LOW
maintainer rotko
0 votes
scanned 2026-11-03 00:04:01.898975
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: rotko <hq@rotko.net>
2
pkgname=peek2
3
pkgver=0.2.1
4
pkgrel=1
5
pkgdesc="Region screen recorder with audio, straight to the clipboard (Rust rewrite of Peek, no GTK)"
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/rotkonetworks/peek2"
8
license=('MIT')
9
depends=('gcc-libs' 'glibc' 'ffmpeg' 'libpulse')
10
makedepends=('cargo')
11
optdepends=(
12
'libnotify: notifications after saving'
13
'xdg-utils: open clips and the recordings folder'
14
'picom: translucent selection overlay (any compositor works)'
15
'zenity: ask_save_location file dialog'
16
)
17
source=("$pkgname-$pkgver.tar.gz::https://github.com/rotkonetworks/peek2/archive/v$pkgver.tar.gz")
18
sha256sums=('3fefe6c938d3a1ba18af8a59836969aded9cbcd9cd44bb49f3dda6202aae276e')
19
20
prepare() {
21
cd "$pkgname-$pkgver"
22
export RUSTUP_TOOLCHAIN=stable
23
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
24
}
25
26
build() {
27
cd "$pkgname-$pkgver"
28
export RUSTUP_TOOLCHAIN=stable
29
export CARGO_TARGET_DIR=target
30
cargo build --frozen --release
31
}
32
33
check() {
34
cd "$pkgname-$pkgver"
35
export RUSTUP_TOOLCHAIN=stable
36
cargo test --frozen --release
37
}
38
39
package() {
40
cd "$pkgname-$pkgver"
41
install -Dm755 target/release/peek2 -t "$pkgdir/usr/bin/"
42
install -Dm644 data/net.rotko.Peek2.desktop -t "$pkgdir/usr/share/applications/"
43
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
44
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
45
}
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-03 00:04:01 | Low | 1 |