riscv-pk-git

MEDIUM
maintainer ewtoombs 3 votes scanned 2026-10-26 11:44:54.928123
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Jiuyang Liu <liujiuyang1994@gmail.com>
2# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
3
4pkgname=riscv-pk-git
5pkgver=1
6pkgrel=1
7pkgdesc='RISC-V proxy kernel and boot loader'
8arch=(x86_64)
9url='https://github.com/riscv/riscv-pk'
10license=(custom)
11depends=(riscv64-linux-gnu-binutils riscv64-linux-gnu-gcc riscv64-linux-gnu-glibc)
12makedepends=(git)
13groups=(risc-v)
14source=("git+$url#branch=master")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$srcdir/$pkgname"
19 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20}
21
22build() {
23 mkdir -p build
24 cd build
25 export CFLAGS=""
26 export RISCV=/usr/riscv64-linux-gnu
27 "$srcdir/$pkgname/configure" \
28 --prefix=/usr \
29 --host=riscv64-linux-gnu \
30 --enable-shared \
31 --with-gcc \
32 --with-gnu-as \
33 --with-gnu-ld \
34 --bindir=/usr/riscv64-linux-gnu/bin/ \
35 --with-sysroot="/usr/riscv64-linux-gnu"
36 make
37}
38
39package() {
40 make -C build install DESTDIR="$pkgdir" PREFIX=/usr/riscv64-linux-gnu
41}
42

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 11:44:54 Medium 1
2026-06-19 22:34:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion