treehouse

LOW
maintainer Dominiquini 1 votes scanned 2026-10-06 08:02:16.298752
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3_pkgauthor=kunchenguid
4_pkgname=treehouse
5pkgname=${_pkgname}
6pkgdesc="Manage worktrees without managing worktrees"
7
8pkgver=3.1.2
9pkgrel=1
10_pkgvername=v${pkgver}
11
12arch=('x86_64' 'aarch64')
13_barch=('linux-amd64' 'linux-arm64')
14
15url="https://github.com/${_pkgauthor}/${_pkgname}"
16_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
17
18license=('MIT')
19
20makedepends=('go')
21depends=('git')
22
23provides=("${_pkgname}")
24
25source=("${pkgname}-${pkgver}.tgz::${url}/archive/${_pkgvername}.tar.gz")
26sha256sums=('ded43f67f4efb4a0bc727136c15e4aec1d06e4815e2f0079dac053b7de924288')
27
28
29prepare() {
30 cd "${srcdir}/${pkgname}-${pkgver}/" || exit 1
31
32 go mod tidy
33}
34
35build() {
36 cd "${srcdir}/${pkgname}-${pkgver}/" || exit 1
37
38 export CGO_ENABLED=0
39
40 if [[ -f .ldflags ]]; then
41 ldflags=$(<.ldflags)
42 else
43 # interim until commit fix is released
44 ldflags="-checklinkname=0"
45 fi
46
47 go build -trimpath -ldflags "${ldflags}" -o "build/${pkgname}" ./cmd
48}
49
50package() {
51 cd "${srcdir}/${pkgname}-${pkgver}/" || exit 1
52
53 install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
54
55 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
56
57 install -Dm644 "${pkgname}.toml.example" "${pkgdir}/usr/share/doc/${pkgname}/config/${pkgname}.example.toml"
58
59 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 08:02:16 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