pocket-tts
LOW
maintainer agony4001
0 votes
scanned 2026-10-27 07:47:02.942332
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: agony <27015 at riseup dot net>
2
3
pkgname=pocket-tts
4
pkgver=4.0.1
5
pkgrel=1
6
pkgdesc="Kyutai's pocket-sized text-to-speech on the CPU, without Python"
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/kyutai-labs/pocket-tts'
9
license=('MIT')
10
depends=('glibc' 'libgcc' 'libstdc++')
11
makedepends=('cargo' 'cmake')
12
options=('!lto')
13
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14
sha256sums=('4599639eadb01bbbc086dc983e5be774f22b8dec9e13769d53899b9de29c047e')
15
16
prepare() {
17
cd "${pkgname}-${pkgver}/rust"
18
# Upstream builds x86_64 for x86-64-v3; the target CPU comes from
19
# RUSTFLAGS in makepkg.conf instead
20
rm .cargo/config.toml
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target host-tuple
23
}
24
25
build() {
26
cd "${pkgname}-${pkgver}/rust"
27
export RUSTUP_TOOLCHAIN=stable
28
export CARGO_TARGET_DIR=target
29
cargo build --frozen --release
30
}
31
32
check() {
33
cd "${pkgname}-${pkgver}/rust"
34
export RUSTUP_TOOLCHAIN=stable
35
export CARGO_TARGET_DIR=target
36
cargo test --frozen --release
37
}
38
39
package() {
40
cd "${pkgname}-${pkgver}"
41
install -Dm755 rust/target/release/pocket-tts -t "${pkgdir}/usr/bin"
42
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
43
install -Dm644 rust/README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-27 07:47:02 | Low | 1 |