talhelper

LOW
maintainer andreas_baumann 0 votes scanned 2026-09-05 14:00:22.289320
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: George Rawlinson <grawlinson@archlinux.org>
2
3pkgname=talhelper
4pkgver=3.1.17
5pkgrel=1
6pkgdesc='A tool to help create Talos clusters in your GitOps repository'
7arch=(x86_64)
8url='https://budimanjojo.github.io/talhelper'
9license=(BSD-3-Clause)
10depends=(glibc)
11makedepends=(git go)
12optdepends=(
13 'talosctl: apply generated configuration'
14 'sops: manage secrets'
15)
16options=(!lto)
17source=("$pkgname::git+https://github.com/budimanjojo/talhelper#tag=v$pkgver")
18sha512sums=('95678b7893b4578217d8a3ea0fb83ee981fb1d174b9a87b70b7cde947834a3fc4f42733094a4fcadb5edd065452239400f5c296948054367a2d3df2072baef27')
19b2sums=('b44e8e9b48be2943f8fd68e140af53d0f3c6fc4db587e50f6f81ceba3305863eca4079c275b53d4b57198c386b4f85bd02a6f565ded1778a720f1a1b2b427f50')
20
21prepare() {
22 cd "$pkgname"
23
24 # create directory for build output
25 mkdir build
26
27 # download dependencies
28 export GOPATH="${srcdir}"
29 go mod download
30}
31
32build() {
33 cd "$pkgname"
34
35 # set Go flags
36 export CGO_CPPFLAGS="${CPPFLAGS}"
37 export CGO_CFLAGS="${CFLAGS}"
38 export CGO_CXXFLAGS="${CXXFLAGS}"
39 export GOPATH="${srcdir}"
40
41 go build -v \
42 -buildmode=pie \
43 -mod=readonly \
44 -modcacherw \
45 -ldflags "-compressdwarf=false \
46 -linkmode external \
47 -extldflags '${LDFLAGS}' \
48 -X github.com/budimanjojo/talhelper/cmd.version=$pkgver" \
49 -o build \
50 .
51
52 # generate shell completions
53 cd build
54 ./talhelper completion bash > completion.bash
55 ./talhelper completion fish > completion.fish
56 ./talhelper completion zsh > completion.zsh
57}
58
59package() {
60 cd "$pkgname"
61
62 # binary
63 install -vDm755 -t "$pkgdir/usr/bin" build/talhelper
64
65 # shell completions
66 install -vDm644 build/completion.bash "$pkgdir/usr/share/bash-completion/completions/talhelper"
67 install -vDm644 build/completion.fish "$pkgdir/usr/share/fish/vendor_completions.d/talhelper.fish"
68 install -vDm644 build/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_talhelper"
69
70 # license
71 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
72}
73

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 14:00:22 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