keyviz-zh
LOW
maintainer duanluan
0 votes
scanned 2026-08-21 21:15:20.444724
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: duanluan <duanluan@outlook.com>
2
3
pkgname=keyviz-zh
4
pkgver=2.1.0
5
pkgrel=3
6
_commit=abff97c6687e96736c63d4dad1c4bba06a1f8205
7
_srcdir="keyviz-${_commit}"
8
pkgdesc='Chinese-localized fork of Keyviz with Linux fixes'
9
arch=('x86_64')
10
url='https://github.com/duanluan/keyviz'
11
license=('GPL-3.0-only')
12
depends=('gtk3' 'libayatana-appindicator' 'webkit2gtk-4.1')
13
makedepends=('cargo' 'nodejs' 'npm')
14
provides=("keyviz-zh-bin=${pkgver}" 'keyviz')
15
conflicts=('keyviz' 'keyviz-bin' 'keyviz-cn-bin')
16
options=('!strip')
17
source=(
18
"${_srcdir}.tar.gz::https://codeload.github.com/duanluan/keyviz/tar.gz/${_commit}"
19
)
20
sha256sums=(
21
'06f4a2b8b8550a3dff8ade226e905d3abcaceaff8a2795faab73f19dfb7fb512'
22
)
23
24
build() {
25
cd "${srcdir}/${_srcdir}"
26
27
export npm_config_cache="${srcdir}/npm-cache"
28
export CARGO_HOME="${srcdir}/cargo-home"
29
30
npm ci --cache "${npm_config_cache}" --prefer-offline
31
npm run tauri build -- --bundles deb
32
}
33
34
package() {
35
local _builddir
36
_builddir="$(mktemp -d)"
37
trap 'rm -rf "${_builddir}"' EXIT
38
39
bsdtar -C "${_builddir}" -xf "${srcdir}/${_srcdir}/src-tauri/target/release/bundle/deb/keyviz_${pkgver}_amd64.deb"
40
bsdtar -C "${pkgdir}" -xf "${_builddir}/data.tar.gz"
41
42
sed -i -e 's/^Name=.*/Name=Keyviz 汉化版/' -e 's/^Comment=.*/Comment=Keyviz 汉化版/' -e 's/^Categories=.*/Categories=Utility;/' "${pkgdir}/usr/share/applications/keyviz.desktop"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-21 21:15:20 | Low | 1 |