slat
LOW
maintainer Dominiquini
1 votes
scanned 2026-09-23 03:39:22.340916
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}
7
pkgname=${_appname}
8
pkgdesc="Terminal multiplexer with tiling panes, tabs and workspaces that keep running after you close the window"
9
10
pkgver=0.2.1
11
pkgrel=1
12
_gitversion=v${pkgver}
13
14
arch=('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}"
19
url=${_ghurl}
20
21
license=('MIT')
22
23
provides=("${_appname}")
24
25
makedepends=('go')
26
depends=('glibc')
27
28
options=('!strip' '!lto')
29
30
source=("${pkgname}-${pkgver}.tgz::${_ghurl}/archive/${_gitversion}.tar.gz")
31
sha256sums=('1072f4087382e815431dff0d3af612dce134f19dd68b53fcdb79c873569524d3')
32
33
34
build() {
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
46
check() {
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
53
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-23 03:39:22 | Low | 1 |