talhelper
LOW
maintainer andreas_baumann
0 votes
scanned 2026-09-05 14:00:22.289320
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
3
pkgname=talhelper
4
pkgver=3.1.17
5
pkgrel=1
6
pkgdesc='A tool to help create Talos clusters in your GitOps repository'
7
arch=(x86_64)
8
url='https://budimanjojo.github.io/talhelper'
9
license=(BSD-3-Clause)
10
depends=(glibc)
11
makedepends=(git go)
12
optdepends=(
13
'talosctl: apply generated configuration'
14
'sops: manage secrets'
15
)
16
options=(!lto)
17
source=("$pkgname::git+https://github.com/budimanjojo/talhelper#tag=v$pkgver")
18
sha512sums=('95678b7893b4578217d8a3ea0fb83ee981fb1d174b9a87b70b7cde947834a3fc4f42733094a4fcadb5edd065452239400f5c296948054367a2d3df2072baef27')
19
b2sums=('b44e8e9b48be2943f8fd68e140af53d0f3c6fc4db587e50f6f81ceba3305863eca4079c275b53d4b57198c386b4f85bd02a6f565ded1778a720f1a1b2b427f50')
20
21
prepare() {
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
32
build() {
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
59
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-05 14:00:22 | Low | 1 |