kawaii-pkg-git
LOW
maintainer shirushimori
0 votes
scanned 2026-08-22 17:18:20.171967
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: shirushimori <shirushimori@users.noreply.github.com>
2
pkgname=kawaii-pkg-git
3
_pkgname=kawaii-pkg
4
pkgver=r6.435f8dd
5
pkgrel=1
6
pkgdesc="Universal Linux package manager wrapper"
7
arch=('x86_64' 'aarch64')
8
url="https://github.com/shirushimori/kawaii-pkg"
9
license=('MIT')
10
depends=('gcc-libs')
11
makedepends=('cargo' 'git')
12
provides=('kawaii' 'kawaii-pkg')
13
conflicts=('kawaii' 'kawaii-pkg')
14
source=("git+https://github.com/shirushimori/kawaii-pkg.git")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd "$_pkgname"
19
( set -o pipefail
20
git describe --long --tags --abbrev=7 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
21
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
22
)
23
}
24
25
prepare() {
26
cd "$_pkgname"
27
export RUSTUP_TOOLCHAIN=stable
28
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
29
}
30
31
build() {
32
cd "$_pkgname"
33
export RUSTUP_TOOLCHAIN=stable
34
export CARGO_TARGET_DIR=target
35
cargo build --frozen --release --all-features
36
}
37
38
check() {
39
cd "$_pkgname"
40
export RUSTUP_TOOLCHAIN=stable
41
cargo test --frozen --all-features
42
}
43
44
package() {
45
cd "$_pkgname"
46
install -Dm755 "target/release/kawaii" "$pkgdir/usr/bin/kawaii"
47
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-22 17:18:20 | Low | 1 |