csleep
LOW
maintainer nimes
0 votes
scanned 2026-10-21 17:32:44.330620
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: Nimesh Poudel <nimeshpoudel89@gmail.com>
2
pkgname=csleep
3
pkgver=1.0.0
4
pkgrel=1
5
pkgdesc='Chunked sleep with a smooth progress bar and remaining-time countdown'
6
arch=('x86_64')
7
url='https://github.com/CowGivesMilk/csleep'
8
license=('GPL-2.0-only')
9
depends=('gcc-libs' 'glibc')
10
makedepends=('cargo')
11
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/V1.tar.gz")
12
sha256sums=('9f4a04d7a1041a49dc4c688a1c5d49f5d6b2a6432584eade48fb5982efe4b9ac')
13
14
prepare() {
15
cd "$srcdir"/$pkgname-*/
16
export RUSTUP_TOOLCHAIN=stable
17
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
18
}
19
20
build() {
21
cd "$srcdir"/$pkgname-*/
22
export RUSTUP_TOOLCHAIN=stable
23
export CARGO_TARGET_DIR=target
24
cargo build --frozen --release --all-features
25
}
26
27
check() {
28
cd "$srcdir"/$pkgname-*/
29
export RUSTUP_TOOLCHAIN=stable
30
cargo test --frozen --all-features
31
}
32
33
package() {
34
cd "$srcdir"/$pkgname-*/
35
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
36
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-21 17:32:44 | Low | 1 |