zswapstat
LOW
maintainer zen
0 votes
scanned 2026-08-30 19:44:01.063593
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: Zen Wen <zen.8841@gmail.com>
2
3
pkgname=zswapstat
4
pkgver=1.0
5
pkgrel=2
6
pkgdesc="A simple Bash script to monitor zswap and memory status"
7
arch=('x86_64')
8
url="https://github.com/zen8841/zswapstat"
9
license=('AGPL-3.0-or-later')
10
depends=('sudo' 'bc')
11
makedepends=()
12
checkdepends=()
13
provides=('zswapstat')
14
source=("$pkgname-$pkgver.tar.gz::https://github.com/zen8841/${pkgname}/archive/v${pkgver}.tar.gz")
15
sha256sums=('0f5a7783588327b0f45fe33f7c78e95088c1a098ef62e85535ae79c99fd543ad')
16
#validpgpkeys=()
17
18
prepare() {
19
cd "$pkgname-$pkgver"
20
sed -i 's|/usr/local/bin/zswapstat|/usr/bin/zswapstat|' zswapstat-sudoers
21
}
22
23
package() {
24
cd "$pkgname-$pkgver"
25
install -Dm755 zswapstat.sh "${pkgdir}/usr/bin/zswapstat"
26
install -Dm440 zswapstat-sudoers "${pkgdir}/etc/sudoers.d/zswapstat"
27
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
28
}
29
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-30 19:44:01 | Low | 1 |