ryl

LOW
maintainer agony4001 0 votes scanned 2026-11-05 16:09:47.219016
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: agony <27015 at riseup dot net>
2
3pkgname=ryl
4pkgver=0.28.0
5pkgrel=1
6pkgdesc='Fast YAML linter and formatter'
7arch=('x86_64' 'aarch64' 'armv7h' 'powerpc64le')
8url='https://github.com/owenlamont/ryl'
9license=('MIT OR Apache-2.0')
10depends=('glibc' 'libgcc')
11makedepends=('cargo')
12options=('!lto')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('4e652e61f38e9d563764774ac6d2e9eff0bde5641a350deaa2a94c861ad85959')
15
16prepare() {
17 cd "${pkgname}-${pkgver}"
18 export RUSTUP_TOOLCHAIN=stable
19 cargo fetch --locked --target host-tuple
20}
21
22build() {
23 cd "${pkgname}-${pkgver}"
24 export RUSTUP_TOOLCHAIN=stable
25 export CARGO_TARGET_DIR=target
26 cargo build --frozen --release
27 for shell in bash fish zsh; do
28 target/release/ryl --generate-completions "${shell}" > "completion.${shell}"
29 done
30}
31
32check() {
33 cd "${pkgname}-${pkgver}"
34 [[ "$(target/release/ryl --version)" == "ryl ${pkgver}" ]]
35 printf 'key: value\n' | target/release/ryl check --enable trailing-spaces,key-duplicates --no-cache -
36 [[ "$(printf 'key: value\n' | target/release/ryl format --no-cache -)" == 'key: value' ]]
37}
38
39package() {
40 cd "${pkgname}-${pkgver}"
41 install -Dm755 target/release/ryl -t "${pkgdir}/usr/bin"
42 install -Dm644 completion.bash "${pkgdir}/usr/share/bash-completion/completions/ryl"
43 install -Dm644 completion.fish "${pkgdir}/usr/share/fish/vendor_completions.d/ryl.fish"
44 install -Dm644 completion.zsh "${pkgdir}/usr/share/zsh/site-functions/_ryl"
45 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
46 install -Dm644 crates/ryl-yaml-parser/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/ryl-yaml-parser"
47 install -Dm644 crates/ryl-yaml-parser/.licenses/* -t "${pkgdir}/usr/share/licenses/${pkgname}/ryl-yaml-parser/.licenses"
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-11-05 16:09:47 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