getyaak

LOW
maintainer hanneshapke 0 votes scanned 2026-09-12 19:12:35.548512
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: Hannes Hapke <hannes.hapke@gmail.com>
2pkgname=getyaak
3_pkgname=yaak
4pkgver=0.2.2
5pkgrel=1
6pkgdesc="Translate natural language to bash commands using any OpenAI-compatible LLM"
7arch=('x86_64' 'aarch64')
8url="https://github.com/hanneshapke/yaak"
9license=('Apache-2.0')
10conflicts=('getyaak-bin' 'yaak-cli')
11depends=('gcc-libs')
12makedepends=('cargo')
13source=("$_pkgname-$pkgver.tar.gz::https://github.com/hanneshapke/yaak/archive/refs/tags/v$pkgver.tar.gz")
14sha256sums=('6c7f35ce1749208059b635733169d1144eaffc8a9f0506821735e1b8ea88f06f')
15
16prepare() {
17 cd "$_pkgname-$pkgver"
18 export RUSTUP_TOOLCHAIN=stable
19 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
20}
21
22build() {
23 cd "$_pkgname-$pkgver"
24 export RUSTUP_TOOLCHAIN=stable
25 export CARGO_TARGET_DIR=target
26 cargo build --frozen --release --all-features
27}
28
29check() {
30 cd "$_pkgname-$pkgver"
31 export RUSTUP_TOOLCHAIN=stable
32 cargo test --frozen --release
33}
34
35package() {
36 cd "$_pkgname-$pkgver"
37 install -Dm755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
38 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
40
41 # Shell completions generated at runtime by the yaak binary itself.
42 "$pkgdir/usr/bin/$_pkgname" --completions bash | install -Dm644 /dev/stdin \
43 "$pkgdir/usr/share/bash-completion/completions/$_pkgname"
44 "$pkgdir/usr/bin/$_pkgname" --completions zsh | install -Dm644 /dev/stdin \
45 "$pkgdir/usr/share/zsh/site-functions/_$_pkgname"
46 "$pkgdir/usr/bin/$_pkgname" --completions fish | install -Dm644 /dev/stdin \
47 "$pkgdir/usr/share/fish/vendor_completions.d/$_pkgname.fish"
48}
49

Scan history

Scanned at (UTC)SeverityRules
2026-09-12 19:12:35 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