termdock

LOW
maintainer Dominiquini 1 votes scanned 2026-08-23 05:19:50.051162
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_gitauthor=padovanl
4_gitname=termdock
5_appname=${_gitname}
6pkgname=${_appname}
7pkgdesc="A terminal multiplexer with persistent sessions — split panes, detach, reattach"
8
9pkgver=0.0.8
10pkgrel=1
11_gitversion=v${pkgver}
12
13arch=('x86_64' 'aarch64')
14_barch=('linux_amd64' 'linux_arm64')
15
16_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18url=${_ghurl}
19
20license=('MIT')
21
22makedepends=('go')
23provides=("${_appname}")
24
25options=('!strip')
26
27source=("${pkgname}-${pkgver}.tgz::${url}/archive/v${pkgver}.tar.gz")
28sha256sums=('00a9d57b93fecc145286916444de9a12b0c6e77defc53717ddc78efb3828eda1')
29
30
31prepare() {
32 cd "${srcdir}/${pkgname}-${pkgver}/" || exit
33
34 go mod tidy
35}
36
37build() {
38 cd "${srcdir}/${pkgname}-${pkgver}/" || exit
39
40 export CGO_ENABLED=0
41
42 if [[ -f .ldflags ]]; then
43 ldflags=$(<.ldflags)
44 else
45 # interim until commit fix is released
46 ldflags="-checklinkname=0"
47 fi
48
49 go build -trimpath -ldflags "${ldflags}" -o "${pkgname}" ./
50}
51
52package() {
53 cd "${srcdir}/${pkgname}-${pkgver}/" || exit
54
55 install -Dm755 "${_appname}" "${pkgdir}/usr/bin/${_appname}"
56
57 install -Dm644 "packaging/${_appname}.conf.example" "${pkgdir}/usr/share/${pkgname%-bin}/config/${_appname}.conf.example"
58
59 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
60
61 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
62}
63

Scan history

Scanned at (UTC)SeverityRules
2026-08-23 05:19:50 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