ttfx

LOW
maintainer Dominiquini 1 votes scanned 2026-09-27 01:16:09.423259
View on AUR
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
4pkgauthor=omacom
5pkgname=ttfx
6pkgver=0.4.0
7pkgrel=1
8pkgdesc="Terminal text effects as a single static binary"
9
10arch=('x86_64')
11license=('MIT')
12url="https://github.com/${pkgauthor}/${pkgname}"
13
14provides=("${pkgname}")
15
16makedepends=('cargo')
17depends=('glibc' 'libgcc')
18
19options=('!lto')
20
21source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
22sha256sums=('90a057971973917a45ae1cb2fc795cfaea33afc265180ba4a963172daf9f64ee')
23
24prepare() {
25 cd "${pkgname}-${pkgver}" || exit
26
27 cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
28}
29
30build() {
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
41check() {
42 cd "${pkgname}-${pkgver}" || exit
43
44 export CARGO_TARGET_DIR=target
45 cargo test --frozen --release
46}
47
48package() {
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)SeverityRules
2026-09-27 01:16:09 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion