opentaikohub
LOW
maintainer Ape
0 votes
scanned 2026-10-06 08:02:16.298752
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: Lauri Niskanen <ape@ape3000.com>
2
3
pkgname=opentaikohub
4
pkgver=0.2.9
5
pkgrel=1
6
pkgdesc='Launcher, updater and asset manager for OpenTaiko'
7
arch=('x86_64')
8
url='https://github.com/OpenTaiko/OpenTaiko-Hub'
9
license=('MIT')
10
depends=(
11
'glibc'
12
'gtk3'
13
'hicolor-icon-theme'
14
'webkit2gtk-4.1'
15
'xdg-utils'
16
)
17
makedepends=(
18
'cargo'
19
'nodejs'
20
'npm'
21
'pkgconf'
22
)
23
# Avoid passing GCC LTO objects from native dependencies to rust-lld.
24
options=('!lto')
25
conflicts=('opentaikohub-bin')
26
source=(
27
"opentaikohub-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
28
'opentaikohub.desktop'
29
)
30
sha256sums=(
31
'084e258dfd3dda50e0bccb9f4b5b8373a158b47664990fe11fe124909ac5662f'
32
'ad3a2077b69122ea1282d600a981cf21cf8f1f3177e0db2f891715310d53051e'
33
)
34
35
_srcname="OpenTaiko-Hub-${pkgver}"
36
37
prepare() {
38
cd "${srcdir}/${_srcname}"
39
40
npm ci --cache "${srcdir}/npm-cache" --no-audit --no-fund
41
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu" --manifest-path src-tauri/Cargo.toml
42
}
43
44
build() {
45
cd "${srcdir}/${_srcname}"
46
47
npm run build
48
49
export CARGO_TARGET_DIR="${srcdir}/target"
50
cargo build --frozen --release --features custom-protocol --manifest-path src-tauri/Cargo.toml
51
}
52
53
package() {
54
cd "${srcdir}/${_srcname}"
55
56
install -Dm0755 "${srcdir}/target/release/OpenTaiko-Hub" "${pkgdir}/usr/bin/opentaikohub"
57
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
58
install -Dm0644 "${srcdir}/opentaikohub.desktop" "${pkgdir}/usr/share/applications/opentaikohub.desktop"
59
60
install -Dm0644 src-tauri/icons/32x32.png "${pkgdir}/usr/share/icons/hicolor/32x32/apps/opentaikohub.png"
61
install -Dm0644 src-tauri/icons/128x128.png "${pkgdir}/usr/share/icons/hicolor/128x128/apps/opentaikohub.png"
62
install -Dm0644 src-tauri/icons/128x128@2x.png "${pkgdir}/usr/share/icons/hicolor/256x256/apps/opentaikohub.png"
63
install -Dm0644 src-tauri/icons/icon.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/opentaikohub.png"
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-06 08:02:16 | Low | 1 |