ttfx
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-27 01:16:09.423259
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: staszek <staszekborkowski7@gmail.com>
2
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
3
4
pkgauthor=omacom
5
pkgname=ttfx
6
pkgver=0.4.0
7
pkgrel=1
8
pkgdesc="Terminal text effects as a single static binary"
9
10
arch=('x86_64')
11
license=('MIT')
12
url="https://github.com/${pkgauthor}/${pkgname}"
13
14
provides=("${pkgname}")
15
16
makedepends=('cargo')
17
depends=('glibc' 'libgcc')
18
19
options=('!lto')
20
21
source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
22
sha256sums=('90a057971973917a45ae1cb2fc795cfaea33afc265180ba4a963172daf9f64ee')
23
24
prepare() {
25
cd "${pkgname}-${pkgver}" || exit
26
27
cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
28
}
29
30
build() {
31
cd "${pkgname}-${pkgver}" || exit
32
33
export CARGO_TARGET_DIR=target
34
cargo build --frozen --release
35
36
mkdir -p completions
37
./"target/release/${pkgname}" --print-completion zsh > "completions/${pkgname}.zsh"
38
./"target/release/${pkgname}" --print-completion bash > "completions/${pkgname}.bash"
39
}
40
41
check() {
42
cd "${pkgname}-${pkgver}" || exit
43
44
export CARGO_TARGET_DIR=target
45
cargo test --frozen --release
46
}
47
48
package() {
49
cd "${pkgname}-${pkgver}" || exit
50
51
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
52
53
install -Dm644 "completions/${pkgname}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
54
install -Dm644 "completions/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
55
56
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
57
58
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
59
}
60
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 01:16:09 | Low | 1 |