slat

LOW
maintainer Dominiquini 1 votes scanned 2026-09-23 03:39:22.340916
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# Contributor: noturbob <142563527+noturbob@users.noreply.github.com>
3
4_gitauthor=noturbob
5_gitname=slat
6_appname=${_gitname}
7pkgname=${_appname}
8pkgdesc="Terminal multiplexer with tiling panes, tabs and workspaces that keep running after you close the window"
9
10pkgver=0.2.1
11pkgrel=1
12_gitversion=v${pkgver}
13
14arch=('x86_64' 'aarch64')
15_barch=('linux_amd64' 'linux_arm64')
16
17_ghurl="https://github.com/${_gitauthor}/${_gitname}"
18_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
19url=${_ghurl}
20
21license=('MIT')
22
23provides=("${_appname}")
24
25makedepends=('go')
26depends=('glibc')
27
28options=('!strip' '!lto')
29
30source=("${pkgname}-${pkgver}.tgz::${_ghurl}/archive/${_gitversion}.tar.gz")
31sha256sums=('1072f4087382e815431dff0d3af612dce134f19dd68b53fcdb79c873569524d3')
32
33
34build() {
35 cd "${pkgname}-${pkgver}"
36
37 export CGO_CPPFLAGS="$CPPFLAGS"
38 export CGO_CFLAGS="$CFLAGS"
39 export CGO_CXXFLAGS="$CXXFLAGS"
40 export CGO_LDFLAGS="$LDFLAGS"
41 export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
42
43 go build -ldflags "-linkmode=external -X github.com/noturbob/slat/internal/app.Version=${_gitversion}" -o slat ./cmd/slat
44}
45
46check() {
47 cd "${pkgname}-${pkgver}"
48
49 # The end-to-end tests need a PTY and a shell, which clean chroots may lack.
50 go test ./internal/vt/ ./internal/layout/ ./internal/config/ ./cmd/slat/
51}
52
53package() {
54 cd "${pkgname}-${pkgver}"
55
56 install -Dm755 "${_appname}" -t "${pkgdir}/usr/bin/"
57
58 install -Dm644 "${_appname}.1" -t "${pkgdir}/usr/share/man/man1/"
59
60 install -Dm644 "config.example.toml" -t "${pkgdir}/usr/share/doc/${pkgname}/config/"
61
62 install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}/"
63
64 install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
65}
66

Scan history

Scanned at (UTC)SeverityRules
2026-09-23 03:39: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