riscv-pk-git
MEDIUM
maintainer ewtoombs
3 votes
scanned 2026-10-26 11:44:54.928123
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
4
pkgname=riscv-pk-git
5
pkgver=1
6
pkgrel=1
7
pkgdesc='RISC-V proxy kernel and boot loader'
8
arch=(x86_64)
9
url='https://github.com/riscv/riscv-pk'
10
license=(custom)
11
depends=(riscv64-linux-gnu-binutils riscv64-linux-gnu-gcc riscv64-linux-gnu-glibc)
12
makedepends=(git)
13
groups=(risc-v)
14
source=("git+$url#branch=master")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd "$srcdir/$pkgname"
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
}
21
22
build() {
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
39
package() {
40
make -C build install DESTDIR="$pkgdir" PREFIX=/usr/riscv64-linux-gnu
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 11:44:54 | Medium | 1 |
| 2026-06-19 22:34:54 | Clean | 0 |